Click or drag to resize

VoDbAlias Function

X#
Return the alias of a specified work area as a string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION VoDbAlias(
	wWorkArea AS DWORD
) AS STRING
Request Example View Source

Parameters

wWorkArea
Type: DWord
Any work area number.

Return Value

Type: String
If there is no database file in use, VODBAlias() returns a NULL_STRING.
Remarks
VODBAlias() is like Alias() but is strongly typed. See Alias() 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