See Also: Constrain
To allow groups of constraints to be created and used.
The DataDictionary class provides superior functionality that replaces the need for this command.
Constraint_Set [{integer}] [Clear | Delete]
If {integer} is not specified, it will be considered 1.
The Constraint_Set command sets the active constraint set. If the constraint set does not exist, a new one is created. Otherwise, the constraints set the last time the named constraint set was in effect now become the current constraint set. It remains in effect until the next Constraint_Set command.
Since any open database file may be addressed by constrain commands in a constraint set, constraints may be included within a single constraint set as long as they do not conflict. Only use multiple constraint sets if necessary.
Constraint_Set {integer} Clear removes all constraints and find-status from the current constraint set, and leaves {integer} in effect as the current constraint set. This is normally used to reset the constraints for a particular set.
Constraint_Set {integer} Delete removes the identified constraint set. If {integer} is the current constraint set, no constraint set will be active after this command executes until a new Constraint_Set is executed.
There is no need for the constraint set identifiers assigned to be contiguous, or in any particular order. You may use any unique number (such as an object id) to refer to a constraint set.