4D v16.3QR SET TOTALS DATA |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
QR SET TOTALS DATA
QR SET TOTALS DATA
Note: This command cannot create a subtotal. The QR SET TOTALS DATA command sets the details of a specific break (total or subtotal). area is the reference of the Quick Report area. colNum is the column number of the cell whose data is going to be set. breakNum is the number of the break whose data will be set (subtotal or grand total). For a Subtotal, breaknum is the sort number. For the Grand total, breaknum equals -3 or the constant qr grand total of the QR Operators theme. operator is an addition of all the operators present in the cell. You can use the constants of the QR Operators theme to set the value:
If operator is 0, there is no operator. value is the text to be placed in the cell. Note: Operator/value is mutually exclusive, so you either set an operator or a text. You can pass the following values: The QR SET TOTALS DATA command sets the details of a specific cell. area is the reference of the Quick Report area. colNum is the column number of the cell whose data is going to be set. breakNum is the row number of the cell whose data is going to be set. operator is an addition of all the operators present in the cell. You can use the constants of the QR Operators theme to set the value (see above). value is the text to be placed in the cell. Here is a depiction of how the parameters column and break have to be combined in cross-table mode: The types of data that you can pass are of two basic kinds:
If you pass an invalid area number, the error -9850 will be generated.
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D 2003 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||