Page 1 of 1

TOraQuery.CheckMode

Posted: Fri 21 May 2010 17:48
by swm4
What is the difference between using CheckMode and setting RefreshOptions to include roBeforeEdit in a TOraQuery component?

Posted: Tue 25 May 2010 09:53
by bork
Hello

The CheckMode property is used for compatibility with old versions of ODAC. To lock record on editing we recommend to use the LockMode property (instead of the cmException value in the CheckMode property). And to refresh record before edit we recommend to include roBeforeEdit to the RefreshOptions property (instead of the cmRefresh value in the CheckMode property).