QR GET DESTINATION
QR GET DESTINATION ( area ; type {; specifics} )
Parameter | Type | Description | |
---|---|---|---|
area | Integer | → | Reference of the area |
type | Integer | ← | Type of the report |
specifics | Text, Variable | ← | Specifics 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:
Constant | Type | Value | Comment |
---|---|---|---|
qr HTML file | Integer | 5 | specifics: Pathname to the file. |
qr printer | Integer | 1 | specifics: "*" to remove the print dialog boxes |
qr text file | Integer | 2 | specifics: Pathname to the file. |
If you pass an invalid area number, the error -9850 will be generated.