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.08
Syntax
 FUNCTION FieldGetSelect(
	symAlias AS USUAL,
	symFieldName AS SYMBOL
) AS USUAL
View Source

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#
USE region1 NEW
USE region2 NEW
SELECT region1
_FIELD->FName := "Kate"
SELECT region2
_FIELD->FName := "Cindy"
QOut(FieldGetAlias(#REGION1, #FNAME))        // Kate
QOut(FieldGetAlias(#REGION2, #FNAME))        // Cindy
See Also