[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|               DBF               |
+---------------------------------+
DBF([<expN> | <expC>])

-----------------------------------
Returns database name open in the specified work area.
Return value - Character
-----------------------------------

<expC> | <expN>
        Work area number or alias.  If a database is not open in the indicated
work area, the null string is returned.  If the argument is omitted, the
value for the currently selected work area is returned.

        Specify a database alias or work area letter (work area letters A
through J for the first ten work areas only) or specify the work area
number (1 - 25).  If you specify an alias or work area letter it must be
enclosed in single or double quotes.

+---------------------------------+
|             Examples            |
+---------------------------------+
CLOSE ALL
USE salesrep IN 2 ALIAS salesdept
? DBF(2)

? DBF('salesdept')

CLOSE DATABASES
? DBF()         && the null string is returned

-----------------------------------

See Also:  CDX(), FIELD(), NDX()

-----------------------------------

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