FIN

The entry point FIN is used to successively print several reports using the GPE and ETAT variables.

SEEINFO This entry point is not triggered in the case of a direct print.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AREPORT [ARP]

No

Report dictionary

The only significant table is AREPORT, which contains the report in the process of being printed.

 

Example of use

 

####################################################################
##Example of the use of the entry point in AIMP1 processing
####################################################################
$ACTION
ACTION example
 When "END" : Gosub END
Endcase
Return

$END
If [F:ARP]RPTCOD="REPORT1"                               : # After REPORT1, REPORT2 is linked
 GPE = 1
 REPORT = "REPORT2"
Endif
Return

PRTFMT: Makes it possible to enter the print format.

Entry point PRTFMT makes it possible to recover the print format as defined in the printer management for a preview.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AREPORT [ARP]

No

Report dictionary

In the case of a preview in a Client Server context, if the global variable GPE is set to 0 in entry point PRTFMT, the print format entered in the printer record applies to the report. Otherwise, the print format is "pdf".