Skip to main content
Version: Next

QR GET DESTINATION

QR GET DESTINATION ( area ; type {; specifics} )

ParameterTypeDescription
areaLongint🡒Reference of the area
typeLongint🡘Type of the report
specificsString, Variable🡘Specifics linked to the output type

Description

The QR GET DESTINATION command retrieves the output type of the report for the area whose reference was passed in area.

You can compare the value of the type parameter with the constants of the QR Output Destination theme.

The following table describes the values that can be retrieved in both type and specifics parameters:

ConstantTypeValueComment
qr HTML fileLongint5specifics: Pathname to the file.
qr printerLongint1specifics: "*" to remove the print dialog boxes
qr text fileLongint2specifics: Pathname to the file.

If you pass an invalid area number, the error -9850 will be generated.

See also

QR SET DESTINATION