13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10. SEQUENCING THE REPORTS10.1 OverviewIn some cases, you may want to print several reports one after another, and view them in the same print preview.The <strong>com</strong>posite reports can be use for this purpose when the sequence of reports is known in advance.If the sequence is not known in advance and if it must be programmed, the sequence of reports can be usedby programming.10.2 How do I proceed?To sequence the reports by programming:1. To add a report to the sequencing, use iSequencingAdd. This function must be used for each reportthat must be added to the sequence. This function is used to pass parameters to the report to print.2. To end the sequencing and to start the print, use iSequencingPrint.Example:iPreview()iSequencingAdd(RPT_Portrait)iSequencingAdd(RPT_Landscape)iSequencingPrint()Notes:• The pages of the reports found in the sequence are numbered sequentially. The numbering can be modifiedby iPageNum.• The reports found in the sequence can have different orientations (portrait and/or landscape).106Part 1: Report editor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!