QR SET INFO ROW
QR SET INFO ROW ( area ; row ; hide )
Parameter | Type | Description | |
---|---|---|---|
area | Integer | → | Reference of the area created |
row | Integer | → | Row designator |
hide | Integer | → | 0 = displayed, 1 = hidden |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The QR SET INFO ROW command shows/hides the row whose reference was passed in row.
row designates which row is affected. You can pass either:
- a positive integer value to designate the corresponding subtotal (break) level,
- one of the following constants from the QR Rows for Properties theme:
| Constant | Type | Value | Comment |
| -------------- | ------- | ----- | --------------------- |
| qr detail | Longint | -2 | Detail area of report |
| qr grand total | Longint | -3 | Grand total area |
| qr title | Longint | -1 | Title of report |
hide specifies whether the line is shown or hidden:
- If hide is 1, the row is hidden;
- If hide is 0, the row is shown.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid row value, the error -9852 will be generated.
Example
The following statement hides the detail row:
QR SET INFO ROW(area;qr detail;1)