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 |
_O_qr 4D Chart area |
Longint |
4 |
*** Obsolete constant *** |
qr 4D View area |
Longint |
3 |
specifics: N.A. |
qr HTML file |
Longint |
5 |
specifics: Pathname to the file. |
qr printer |
Longint |
1 |
specifics: "*" to remove the print dialog boxes |
qr text file |
Longint |
2 |
specifics: Pathname to the file. |
If you pass an invalid area number, the error -9850 will be generated.