REPORT
|
Syntax: |
REPORT #<Report Number> <Report Number> = <NUMBER> |
||
|
Meaning: |
Starts a report. The data records of the respective
Index File are processed in ascending order. Before the report is executed the printer
must be selected with the instruction PRINTER
or by calling the printer dialog PRINTERDIALOG. With the graphic print (ENABLE LPGDI) a grid is automatically creates at the start of the report for
the Report Length und Report Width defined in the
report specification. The height and width of the font for the print is
calculated so that the print page is optimally filled. A form feed in the report can be produced by NEWPAGE or LPRINT CHR$(12). The report is finished when the end of file of
the respective Index File is reached or by the instruction ENDREP. The program then continues after the instruction REPORT. Note:
The list is printed only when the print list is closed by the instruction
PRINTER after the execution of the report. Note:
In the Macros of the report fields jumps to mask fields (GOTO #...) only have the effect that the Macros are left; however the mask
field is not called. |
||
|
Parameter: |
|
||
|
Sample: |
/* Print customers
from number 10000 ascending PRINTER = "" /* Standard printer CUSTOMER.NR = 10000 REPORT #100 PRINTER = "" /* Close printer list |
||
|
See also: |
|