Hide a component based on conditions from previous Row

Stimulsoft Reports.NET discussion
Post Reply
psionic
Posts: 5
Joined: Mon May 09, 2011 11:25 am
Location: Czech rep

Hide a component based on conditions from previous Row

Post by psionic »

Hi,
I got a problem when trying to hide a line in databand. The situation is following: I print an address in one column and if the address is the same for next row I hide it with this stimulsoft implemented function for Previous row:

{IIF(Previous(BC_JizdyStazkyItinerar_Rpt_GetData_SP,"JStanStart") like BC_JizdyStazkyItinerar_Rpt_GetData_SP.JStanStart,"",BC_JizdyStazkyItinerar_Rpt_GetData_SP.SmlouvaID &" "&BC_JizdyStazkyItinerar_Rpt_GetData_SP.FirmaKonPr)}

The function works good for text.
the design looks like:

Column Name 1 | Column Name 2
-------------------
Adress1 | Value 1
----------------
Adress2 | Value 2
----------------
Adress2 | Value 3
----------------

So it should look like this with hidden line:

Column Name 1 | Column Name 2
-------------------
Adress1 | Value 1
----------------
Adress2 | Value 2

| Value 3
----------------

but when I want to hide whole textbox by conditions in properties it simply doesnt work. I have tried expression based on Length or equals but the line show every time. Do you have any idea how I can do so?

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Hide a component based on conditions from previous Row

Post by HighAley »

Hello.

You should set the Processing Duplicates property of the Text component at the first column to Hide.

Thank you.
Post Reply