Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>dbclearrelation()</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson