skip a datarecord on print in a masterband
Who can help?
I have a query as datasource in a masterband. The result are 20 records.
Then i make a complex calculation of any fields. In this result only 20 - x
records of the masterdatasource should be print.
I have make "masterdata.next" in the OnBeforePrint-method in the band.
On example 1 record was not print, but the band print 20 records and the last
record is mismatch, because i can't change the recordcount.
Who have idea or an other way to resolve this problem?
Regards
I have a query as datasource in a masterband. The result are 20 records.
Then i make a complex calculation of any fields. In this result only 20 - x
records of the masterdatasource should be print.
I have make "masterdata.next" in the OnBeforePrint-method in the band.
On example 1 record was not print, but the band print 20 records and the last
record is mismatch, because i can't change the recordcount.
Who have idea or an other way to resolve this problem?
Regards
Comments
I would prepare everything in a temporary, or memory, table and then print from there.