Page 1 of 1

Hide a component based on conditions from previous Row

Posted: Tue May 15, 2012 9:54 am
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

Hide a component based on conditions from previous Row

Posted: Wed May 16, 2012 7:11 am
by HighAley
Hello.

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

Thank you.