Click or drag to resize

FieldGetSelect Function

Get the contents of a field that is identified by a work area alias and the field name.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.5
Syntax
 FUNCTION FieldGetSelect(
	symAlias AS USUAL,
	symFieldName AS SYMBOL
) AS USUAL

Parameters

symAlias
Type: Usual
The work area alias.
symFieldName
Type: Symbol
The field name.

Return Value

Type: Usual
Remarks
Examples
This example uses FieldGetAlias() to query the contents of fields in two work areas:
X#
1USE region1 NEW
2USE region2 NEW
3SELECT region1
4_FIELD->FName := "Kate"
5SELECT region2
6_FIELD->FName := "Cindy"
7QOut(FieldGetAlias(#REGION1, #FNAME))    // Kate
8QOut(FieldGetAlias(#REGION2, #FNAME))    // Cindy
See Also