DataBand / condition / DataTable

Stimulsoft Reports.NET discussion
Post Reply
Coyote
Posts: 4
Joined: Fri Apr 09, 2010 6:41 am
Location: Germany

DataBand / condition / DataTable

Post by Coyote »

Hello,

i use a Report with two DataBands.

DataBand1 (MasterDataband), Data Source: DataTable1
DataBand2, Data Source: DataTable2

A Textbox with a condition is placed on DataBand2.
If the condition is true a value from DateTable2 is displayed on the Textbox.
If the condition is false an empty row is displayed. This happens for every row in DataTable2.

So the result looks like:


value1
value2

value3
value4
value5

value6


The result i expected is:

value1
value2
value3
value4
value5
value6

How can I solve the problem?

Thanks!
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

DataBand / condition / DataTable

Post by Jan »

Hello,

Please set CanShrink property to true for DataBand and for textbox.

Thank you.
Coyote
Posts: 4
Joined: Fri Apr 09, 2010 6:41 am
Location: Germany

DataBand / condition / DataTable

Post by Coyote »

It works! :biggrin:

Thank you
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

DataBand / condition / DataTable

Post by Andrew »

Great!

Thank you.
Post Reply