Click or drag to resize

DbGetSelect Function

Return the work area number.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION DbGetSelect() AS DWORD
View Source

Return Value

Type: UInt32
A number in the range of 1 to 1023.
Remarks
DBGetSelect() is the recommended way to get the number of the currently selected work area. It does not, however, retrieve any information about the occupation of this work area by a database.
Examples
The following example checks for a current work area:
X#
IF !USED(DBGetSelect())
        QOut("No work area in use.")
ENDIF
See Also