Viva Clipper !

C5_DBCLEARRELATION

Advertisements
 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



Advertisements

Advertisements