[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBCLEARRELATION()
 Clear active relations
------------------------------------------------------------------------------
 Syntax

     DBCLEARRELATION() --> NIL

 Returns

     DBCLEARRELATION() always returns NIL.

 Description

     DBCLEARRELATION() clears any active relations for the current work area.

     DBCLEARRELATION() performs the same function as the standard SET
     RELATION TO command with no clauses specified.  For more information,
     refer to the SET RELATION command.

 Examples

     .  The following example sets a relation, lists data, and then
        clears the relation:

        USE Employee NEW
        USE Department NEW INDEX Dept
        //
        SELECT Employee
        DBSETRELATION("Department", ;
           {|| Employee->Dept}, "Employee->Dept")
        LIST Employee->Name, Department->Name
        DBCLEARRELATION()

 Files   Library is CLIPPER.LIB.


See Also: DBSETRELAT() SET RELATION
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson