Add Method (LookupRelationships Collection)

                  Applies To

Creates a new lookup join relationship. Returns a PageRelationship object.

Syntax

expression.Add(PageRowsource, SchemaRelationship)

expression   An expression that returns a LookupRelationships object.

PageRowsource   Required PageRowsource object. Specifies the page row source on the “one” side of the one-to-many page relationship.

SchemaRelationship   Required SchemaRelationship object. Describes the connecting fields between the parent page row source on the “many” side of the one-to-many relationship and the page row source specified in this method.