DbGetSelect Function | |
Return the work area number.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION DbGetSelect() AS DWORD
public static uint DbGetSelect()
Request Example
View SourceReturn Value
Type:
DWord
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:
1IF !USED(DBGetSelect())
2 QOut("No work area in use.")
3ENDIF
See Also