Skip to main content
Version: 20 R7 BETA

QR GET DESTINATION

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

ParameterTypeDescription
areaIntegerReference of the area
typeIntegerType of the report
specificsText, VariableSpecifics linked to the output type

This command is not thread-safe, it cannot be used in preemptive code.

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