Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the optimistic concurrency mode has been enabled for a table.
Syntax
public boolean occEnabled()
Run On
Called
Return Value
Type: boolean
true if the optimistic concurrency mode is enabled; otherwise, false.
Remarks
When this mode is enabled, data is not locked from future modification when it is fetched from the database. Data is locked only when the actual update is performed.
Examples
The following example shows a call to the occEnabled method.
static public void Main(Args _args)
{
DictTable dt;
boolean enabled;
dt = new DictTable(tablenum(CustTable));
enabled = dt.occEnabled();
}