_SelectString Function | |
Determine the number of a work area.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION _SelectString(
uWorkArea AS STRING
) AS DWORD
public static uint _SelectString(
string uWorkArea
)
Request Example
View SourceParameters
- uWorkArea
- Type: String
A value that identifies the work area.
This can be the number of the work area or its alias, specified either as a symbol or a string.
If uWorkArea is not specified, the current work area number is returned.
Therefore, Select() is the same as DBGetSelect().
Return Value
Type:
DWord
A number from 0 to 4096. 0 is returned if
uWorkArea does not identify a valid work area or does not correspond to a valid alias.
Remarks
The Select() function and SELECT command specified with an extended expression argument look somewhat alike.
Examples
This example shows how Select() takes different arguments:
1USE sales NEW
2USE customer NEW
3QOut(Select())
4QOut(Select(#sales))
5QOut(Select("customer"))
6QOut(Select("sales"))
See Also