BuildState(state)
Notifies the building steps of the recordset. The event is not triggered for recordsets based on tables or queries from external databases. The state argument indicates the current step of building the set. The following constants define the building steps:
Constant | Building step |
gdbRecordsetStart | Starting of building the recordset. |
gdbRecordsetConvert | Converting the table into the recordset. |
gdbRecordsetSearch | Searching in the base tables. |
gdbRecordsetJoin | Joining records of base tables. |
gdbRecordsetCalc | Calculating fields and total values. |
gdbRecordsetDuplOff | Disabling duplicates. |
gdbRecordsetSort | Sorting records. |
gdbRecordsetEnd | End of building the recordset. |
If the recordset belongs to an external database, the state argument can take only two values: gdbRecordsetStart or gdbRecordsetEnd.