4D v13.4QR SET DESTINATION |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
QR SET DESTINATION
QR SET DESTINATION
The QR SET DESTINATION command sets the output type of the report for the area whose reference was passed in area. In the type parameter, you can pass one of the constants of the QR Output Destination theme. The contents of the specifics parameter depends on the value of type. The following table describes the values that can be passed in both type and specifics parameters:
qr text file (2): If you pass an empty string in the specifics parameter, a Save file dialog is displayed; otherwise the file is saved at the location indicated by the path. qr 4D View area (3): If 4D View is active for the user, a 4D View external window is created and populated with the results of the current settings of the Quick Report area. qr 4D Chart area (4): A 4D Chart external window is created and populated with the results of the current settings of the Quick Report area. For detailed information on how the translation is performed, please refer to the Design Reference manual. qr HTML file (5): An HTML file is created using the template set by QR SET HTML TEMPLATE. For detailed information on how the translation is performed, please refer to the Design Reference manual. If you pass an invalid area number, the error -9850 will be generated. The following code sets the destination as being the text file "Mydoc.txt" and executes the Quick Report: QR SET DESTINATION(MyArea;qr text file;"MyDoc.txt") |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D 2003 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||