Click or drag to resize

DbSetRelation Function

Relate a specified work area to the current work area.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION DbSetRelation(
	 xAlias AS USUAL,
	 uCobKey AS USUAL,
	 cKey AS USUAL,
	 cName AS USUAL
) AS LOGIC

Parameters

xAlias
Type: USUAL
The name or workarea number of the child work area.
uCobKey
Type: USUAL
A code block that expresses the relational expression.
cKey
Type: USUAL
An optional character value that expresses the relational expression in textual form.
cName
Type: USUAL
An optional name for the relation. Defaults to ParentName + "_" + ChildName.

Return Value

Type: Boolean
TRUE if successful; otherwise, FALSE.
See Also