This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
QR BLOB TO REPORT
|
QR BLOB TO REPORT ( area ; blob ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
Reference of the area | |||||
blob | BLOB |
![]() |
BLOB that houses the report | |||||
The QR BLOB TO REPORT command places the report contained in blob in the Quick Report area passed in area.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid blob parameter, the error -9852 will be generated.
The following code allows you to display, in MyArea, a report file named “report.4qr” located next to the database structure. The report file does not have to be created with 4D version 2003; it can originate from previous versions:
C_BLOB($doc)
C_LONGINT(MyArea)
DOCUMENT TO BLOB("report.4qr";$doc)
QR BLOB TO REPORT(MyArea;$doc)
The following statement retrieves the Quick Report stored in Field4 and displays it in MyArea:
QR BLOB TO REPORT(MyArea;[Table 1]Field4)
Product: 4D
Theme: Quick Report
Number:
771
Created: 4D 2003
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)