Click or drag to resize

VoDbRelation Function

X#
Return the linking expression of a specified relation.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION VoDbRelation(
	wRelation AS DWORD,
	pszRelation REF STRING
) AS LOGIC
Request Example View Source

Parameters

wRelation
Type: DWord
The position of the desired relation in the list of current work area relations.
The relations are numbered according to the order in which they were defined with SET RELATION.
pszRelation
Type: String
The position of the desired relation in the list of current work area relations.
The relations are numbered according to the order in which they were defined with SET RELATION.

Return Value

Type: Logic
The linking expression defined to wRelation.
If there is no relation set for wRelation, VODBRelation() returns a NULL_STRING.
TRUE if successful; otherwise, FALSE.
Remarks
VODBSetRelation() is similar to DBRelation(). See DBRelation() for more information and examples.
Examples