<<

Contents

Search

>>

 

EXTREPORT_D

 

 

Function

 

 

Syntax:

EXTREPORT_D(<Report File,<Index File>,<Index Key>,<Variable for Errortext>)

 

<Report File>

= <STRING-EXPRESSION>

<Index File>

= <STRING-EXPRESSION>

<Index Key>

= <NUM-EXPRESSION>

<Variable for Errortext>

= <STRING-VARIABLE>

 

 

Meaning:

The function EXTREPORT_D generates a report from an external report file. The data records of <Index File> are processed descendingly, otherwise EXTREPORT_D is identical with EXTREPORT.

 

Parameter:

Report File

Name of report file

Index File

Name of Index File

Index Key

Number of index key

Variable for Errortext

Variable, in which the errortext is written.

 

Sample:

/* Print customer from number 10000 descending

CUSTOMER.NUMBER = 10000

H% = EXTREPORT_D("rep7.dat",CUSTOMER,1,ERROR$)

IF H% <> 0

THEN ERRORMES = "Error: " + ERROR$

ENDIF

 

See also:

EXTREPORT

REPORT

REPORT_D