<<

Contents

Search

>>

 

REPORT

 

 

Instruction

 

 

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:

Report Number

Number of report

 

Sample:

/* Print customers from number 10000 ascending

PRINTER = "" /* Standard printer

CUSTOMER.NR = 10000

REPORT #100

PRINTER = "" /* Close printer list

 

See also:

REPORT_D

EXTREPORT

EXTREPORT_D

PRINTER

REPLEN

REPLINE

NEWLINE

NEXTLINE

NEWPAGE

NEXTBLOCK

NEXTREPFIELD

REPEATLINE

REPENDING

EBUS_REPCOLUMN

EBUS_REPFIELDLEN

EBUS_REPMINSIZE_X

EBUS_REPMINSIZE_Y

EBUS_REPHEIGHT

EBUS_REPWIDTH

REPORT_DATABLOCKLENGTH

REPORT_GROUPBLOCKLENGTH

REPORT_ENDBLOCKLENGTH

REPORT_BACKGROUND_BARS

REPORT_CHANGE_FIELD_COLOR

REPORT_CHANGE_JUSTIFY