RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBDEDataSet.EnableConstraints Method

Enables application of server constraints against dataset entries.

Pascal
procedure EnableConstraints;
C++
__fastcall EnableConstraints();

Call EnableConstraints to turn on application server constraints previously disabled by a call to DisableConstraints.

Note: Calling EnableConstraints decrements a reference count. When this reference count is zero constraints are enabled for the dataset. To prevent accidental disabling of constraints, always follow a call to DisableConstraints with a matching call to EnableConstraints.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!