Click or drag to resize

VoDbSymSelect Function

X#
Select a new work area by specifying its alias as a symbol and return the number of the current work area.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION VoDbSymSelect(
	symAlias AS SYMBOL
) AS LONG
Request Example View Source

Parameters

symAlias
Type: Symbol
The alias of the work area you want to select.

Return Value

Type: Long
The number of the current work area.
Remarks
VODBSymSelect() is like DBSymSelect() but is strongly typed. See DBSymSelect() for more information.
Examples
This example uses VODBSymSelect() to change work areas:
X#
1FUNCTION ChangeArea() AS VOID
2    USE test
3    USE address NEW
4    ? Alias()            // Address
5    VODBSymSelect(#Test)
6    ? Alias()            // Test
See Also