Get the contents of a field that is identified by its work area and a symbol.
XSharp.RT (in XSharp.RT.dll) Version: 2.2a
Syntax View Source
dwWorkArea AS DWORD,
symFieldName AS SYMBOL
) AS USUAL
public static Usual FieldGetArea(
- Type: UInt32
The work area in which <symFieldName> is located.
- Type: Symbol
A symbol that corresponds to the field name.
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
This example uses FieldGetArea():
USE region1 NEW
nSelect1 := VODBGetSelect()
USE region2 NEW
nSelect2 := VODBGetSelect()
_FIELD->FName := "Kate"
_FIELD->FName := "Cindy"
// The following line prints Kate
? FieldGetArea(nSelect1, #FNAME)
// The following line prints Cindy
? FieldGetArea(nSelect2, #FNAME)