QR BLOB TO REPORT

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2003


QR BLOB TO REPORT (area; blob)

ParameterTypeDescription
areaLongintReference of the area
blobBLOBBLOB that houses the report

Description

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.

Examples

1. 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)

2. The following statement retrieves the Quick Report stored in Field4 and displays it in MyArea:

   QR BLOB TO REPORT(MyArea;[Table 1]Field4)

See Also

QR REPORT TO BLOB.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next