DBF( )
Returns the name of a table open in the current or a specified work area.
Syntax
DBF([<alias>])
<alias>
The work area to check.
Description
DBF( ) returns the name of the table open in a specified work area. If the table is a file on disk, as it is with DBF and DB tables, the filename includes the extension and the drive letter. If SET FULLPATH is ON, the DBF( ) function also returns the directory location of the table in addition to the table name.
If no table is in use in the current or specified work area, DBF( ) returns an empty string ("").
OODML
Check the Rowset object’s tableName property.