Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Adds a new relationship to the model.
Syntax
expression.Add (ForeignKeyColumn, PrimaryKeyColumn)
expression A variable that represents a ModelRelationships object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| ForeignKeyColumn | Required | MODELTABLECOLUMN | A ModelTableColumn object representing the foreign key column in the table on the many side of the one-to-many relationship. |
| PrimaryKeyColumn | Required | MODELTABLECOLUMN | A ModelTableColumn object representing the primary key column in the table on the one side of the one-to-many relationship. |
Return value
MODELRELATIONSHIP
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.