Click or drag to resize

VoDbSetSelect Function

X#
Select a new work area.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION VoDbSetSelect(
	siNewArea AS LONG
) AS DWORD
Request Example View Source

Parameters

siNewArea
Type: Long
The number of the new work area.

Return Value

Type: DWord
The newly selected work area.
Remarks
VODBSetSelect() is like DBSetSelect() but is strongly typed. See DBSetSelect() for more information and an example. This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
the LastRddError property in the runtime state. will contain needed information regarding any error that occurs.
Examples