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.2 . The Guide To CA-Clippe - <b>used()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 USED()
 Determine whether a database file is in USE
------------------------------------------------------------------------------
 Syntax

     USED() --> lDbfOpen

 Returns

     USED() returns true (.T.) if there is a database file in USE; otherwise,
     it returns false (.F.).


 Description

     USED() is a database function that determines whether there is a
     database file in USE in a particular work area.  By default, USED()
     operates on the currently selected work area.  It will operate on an
     unselected work area if you specify it as part of an aliased expression.

 Examples

     .  This example determines whether a database file is in USE in
        the current work area:

        USE Customer NEW
        ? USED()               // Result: .T.
        CLOSE
        ? USED()               // Result: .F.

 Files:  Library is CLIPPER.LIB.

See Also: ALIAS() SELECT SELECT() USE

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