Page 1 of 1

help with databand and crossdataband

Posted: Fri Jun 05, 2020 10:30 pm
by edesio
Hello,

i need to creat an grid in my report and i'm using databand wiht crosdataband, but the collunm empty don't print in report
my databand has 8 collumns
my datasource has 4 rowscount
my datasource is in crossdataband

i'd like show the all collumns of the databand

for exemple:

how i want:
The attachment How i Want.png is no longer available
how is print:
The attachment How i Want.png is no longer available

report attached

Re: help with databand and crossdataband

Posted: Sat Jun 06, 2020 9:55 am
by Lech Kulikowski
Hello,

You can add empty CrossData with CountData=4 property

Thank you.

Re: help with databand and crossdataband

Posted: Sat Jun 06, 2020 11:34 am
by edesio
Hello,

thanks, but how i can set dinamic value in dataCrossband.countData, because my datasource is dinamic and i filter crossdataband

for example:
the group 1 has 4 rows and the group 2 has 3 rows.
the group 1 has 4 rows and the group 2 has 3 rows.
example.png (5.66 KiB) Viewed 1691 times
i'd like set values in dataCrossband2.countdata with my calc

for example: (8 - dataCrossBand1.countData)

Re: help with databand and crossdataband

Posted: Tue Jun 09, 2020 1:08 pm
by edesio
Can someone help me?

Re: help with databand and crossdataband

Posted: Wed Jun 10, 2020 1:49 pm
by Lech Kulikowski
Hello,

You can set it in the BeforePrint event.

Thank you.