Click or drag to resize

DBF Function (Usual)

Return the name of the alias. Note:  DBF() is a compatibility function and is no longer recommended.  It is superseded by Alias0().  See Alias0() for more information.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.3
Syntax
 FUNCTION DBF(
	uArea AS USUAL
) AS STRING
View Source

Parameters

uArea
Type: Usual
Specifies the work area name or number for a table from which the value must be retrieved.

Return Value

Type: String
The alias of the work area as a string.  If there is no active database file in the work area, DBF() returns a NULL_STRING.
Remarks
By default, this function operates on the currently selected work area.   It can be made to operate on an unselected work area by specifying it within an aliased expression or by calling the overload that accepts a workarea parameter (a workarea number or alias ).
Examples
See Also