version 2003
QR GET DESTINATION (area; type{; specifics})
Parameter | Type | Description | |
area | Longint | Reference of the area | |
type | Longint | Type of the report | |
specifics | String | 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 Destination theme.
The following table describes the values that can be retrieved in both type and specifics parameters:
Destination | Constant (value) | Specifics |
Printer | qr printer (1) | N.A. |
Text file | qr text file (2) | File pathname |
4D View | qr 4D View area (3) | N.A. |
4D Chart | qr 4D Chart area (4) | N.A. |
HTML file | qr HTML file (5) | Pathname to the HTML file |
If you pass an invalid area number, the error -9850 will be generated.
See Also