DescriptionReturns a relation object, which defines relations between the two tables, which identifiers are passed in as parameters. Note: Use of aliases to identify the tables rather than table names is recommended.SyntaxFunction GetRelation( left, right )Parametersstring left - the left table identified by an alias or table namestring right - the right table identified by alias or table nameReturn Valuesobject - the relationship between left and right
Function GetRelation( left, right )
left
right
Example
Dim rel
Set rel = DS.GetRelation( "Accounts", "Items" )
rel.definition = "Accounts.AccountID=Items.AccountID"
Set