Click or drag to resize

DbServer.Relation Method (Typed)

X#
Return the linking expression of a specified relation.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Relation(
	 nRelation AS LONG
) AS STRING
Request Example View Source

Parameters

nRelation
Type: Long
The position of the desired relation in the list of current relations. The relations are numbered according to the order in which they were defined with DBServer:SetRelation().

Return Value

Type: String
A string containing the linking expression of the relation specified by nRelation. If there is no relation set for nRelation, DBServer:Relation() returns a NULL_STRING.
See Also