<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Properties > OptimisticCommit |
Declaration
property OptimisticCommit: WordBool;
Description
Run-Time only. Setting OptimisticCommit to FALSE forces an extra call to the lowest-level Apollo API function to flush the record buffer – sx_Commit. In all test cases observed by Vista Software, this extra call is not required to insure proper flushing of the record buffer in a normal Post or Commit operation.
The extra call to sx_Commit does take up CPU cycles and, if not absolutely required, should not be used if maximum performance is desired. However, if you feel that your data is not being flushed properly, one option is to set this property to FALSE. If this does not resolve the problem, you should reset this back TRUE.
See Also