<<

Contents

Search

>>

 

REPORT_D

 

 

Instruction

 

 

Syntax:

REPORT_D #<Report Number>

 

<Report Number> = <NUMBER>

 

Meaning:

Starts a report. Die Datensätze der zugehörigen Indexdatei werden absteigend verarbeitet.

 

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:

Report Number

Number of report

 

Sample:

/* Print customers from number 20000 descending

PRINTER = "" /* Standard printer

CUSTOMER.NR = 20000

REPORT_D #110

PRINTER = "" /* Close printer list

 

See also:

REPORT

EXTREPORT

EXTREPORT_D

PRINTER

REPLEN

REPLINE

NEWLINE

NEXTLINE

NEWPAGE

NEXTBLOCK

NEXTREPFIELD

REPEATLINE

REPENDING

EBUS_REPCOLUMN

EBUS_REPFIELDLEN

REPORT_DATABLOCKLENGTH

REPORT_GROUPBLOCKLENGTH

REPORT_ENDBLOCKLENGTH