Equinox Online Help - Language Reference - A to Z

Home

ChangeLinkage

Applies to
Syntax

ChangeLinkage ChildGroupObjectName, NearField, FarIndex
ChangeLinkage ChildGroupObjectName, NearField, IntermediateIndex, IntermediateField, FarIndex
ChangeLinkage ChildGroupObjectName, , HierarchicalTable, IntermediateField, FarIndex
ChangeLinkage ChildGroupObjectName, NearField, IntermediateIndex, , HierarchicalTable
ChangeLinkage ChildGroupObjectName, , HierarchicalTable, , HierarchicalTable

Action[Statement] Changes a form group's parent-child linkage details at runtime.
ScopeOnly usable in form methods.
Notes

There are four forms of the ChangeLinkage statement. The first form which has three parameters, is for changing direct relationships. The remaining forms which have five parameters, are for changing indirect relationships. The statement provides runtime access to the same linkage available in dictionary management at design time.

CategoryDatabases
See Also ApplicationClosed, ChangeLinkage, FlushAllDatabases, ResetApplication
Example

This example specifies a direct link for "Items Summary", using a local field called ItemProdCode and a remote index called ProdCodeIX. The link relates the local table called Item to the remote table called Product, in the IOSystem application (Starting with Equinox). "Items Summary" is the value of the Group Name property of the form group object.

ChangeLinkage "Items Summary", ItemProdCode, ProdCodeIX