TOraQuery.CheckMode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
swm4
Posts: 8
Joined: Wed 17 Dec 2008 22:48

TOraQuery.CheckMode

Post by swm4 » Fri 21 May 2010 17:48

What is the difference between using CheckMode and setting RefreshOptions to include roBeforeEdit in a TOraQuery component?

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Tue 25 May 2010 09:53

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).

Post Reply