April 2017
Intermediate to advanced
706 pages
17h 8m
English
The syntax for SETAUTOCALCFIELDS is as follows:
[BooleanField := ] Record.SETAUTOCALCFIELDS ( FlowField1 [, FlowField2] [, FlowField3]...)
When SETAUTOCALCFIELDS for a table is inserted in code in front of record retrieval, the specified FlowFields are automatically calculated as the record is read. This is more efficient than performing CALCFIELDS on the FlowFields after the record has been read.
If we want to end the automatic FlowField calculation on a record, call the function without any parameters: [BooleanField := ] Record.SETAUTOCALCFIELDS().
Automatic FlowField calculation equivalent to SETAUTOCALCFIELDS is automatically set on for the system record variables, Rec and xRec.
Read now
Unlock full access