FieldGetArea Function | |
Get the contents of a field that is identified by its work area and a symbol.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION FieldGetArea(
dwWorkArea AS DWORD,
symFieldName AS SYMBOL
) AS USUAL
public static Usual FieldGetArea(
uint dwWorkArea,
Symbol symFieldName
)
Request Example
View SourceParameters
- dwWorkArea
- Type: DWord
The work area in which symFieldName is located.
- symFieldName
- Type: Symbol
A symbol that corresponds to the field name.
Return Value
Type:
UsualRemarks
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
Examples
This example uses FieldGetArea():
1USE region1 NEW
2nSelect1 := VODBGetSelect()
3USE region2 NEW
4nSelect2 := VODBGetSelect()
5VODBSetSelect(nSelect1)
6_FIELD->FName := "Kate"
7VODBSetSelect(nSelect2)
8_FIELD->FName := "Cindy"
9
10? FieldGetArea(nSelect1, #FNAME)
11
12? FieldGetArea(nSelect2, #FNAME)
See Also Reference
FieldGetArea(DWord, Symbol)