Add Method (SublistRelationships Collection)

                  Applies To

Creates a new sublist relationship. Returns a PageRelationship object.

Syntax

expression.Add(PageRowsource, SchemaRelationship)

expression   An expression that returns a SublistRelationships object.

PageRowsource   Required PageRowsource object.

SchemaRelationship   Required SchemaRelationship object.

Remarks

The SublistRelationships collection contains PageRelationship objects of type dscSublist for which a RecordsetDef object is the “one” side (the parent) of a one-to-many relationship.