2 columns in supreport with memo (autofill columns)
Hi,
I want to use a 2 column subreport with dynamic memo fields. The 'best'
solution would be the both columns are filled equal with data..
1 4
2 5
3 6
I only have the solution's
1
2
3
4
5
6
or
1 2
3 4
5 6
But the second one will not work with dynamic detailband :-(
Is there a solution for my problem ?
Best regards
Bernd Scheufens
I want to use a 2 column subreport with dynamic memo fields. The 'best'
solution would be the both columns are filled equal with data..
1 4
2 5
3 6
I only have the solution's
1
2
3
4
5
6
or
1 2
3 4
5 6
But the second one will not work with dynamic detailband :-(
Is there a solution for my problem ?
Best regards
Bernd Scheufens
This discussion has been closed.
Comments
If you would like to limit the columns to only print a certain amout of
records, you can set the DetailBand.PrintCount property. For instance if
you have a report with 2 columns and initially it looks like...
1
2
3
4
5
6
If you then set the DetailBand.PrintCount := 3; Your report will look like
this....
1 4
2 5
3 6
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I tried out. It works fine for a normal report. But in a subreport the hole
report stops if I change the Printcount. :-(
Maybe there is a way to force a new column by event?
best regards
Bernd
but what if i do not know exactly how many rows
i got it. I made a virtual group for the subreport. In the
GetBreakValue-Event I made a groupbreak on half the items to print and it
works fine.
aBreakValue := inttostr(DsetInfo.fieldbyName('n').AsInteger*2 div
(DSetInfo.RecordCount+1));
Bernd