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

Comments

  • edited 9:41AM
    I try to keep reports as simple as possible. This makes life much easier when one has to upgrade to another version, e.g. FR2 to FR3, or heaven forbid, change the reporting engine altogether.

    I would prepare everything in a temporary, or memory, table and then print from there.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.