Click or drag to resize

DbGetSelect Function

Return the work area number.

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

Return Value

Type: UInt32
A number that indicates the workarea number.
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#
1IF !USED(DBGetSelect())
2    QOut("No work area in use.")
3ENDIF
See Also