SubdatasheetName property

Applies to: Access 2013 | Access 2016

Use the SubdatasheetName property to specify or determine the table or query that is bound to the subdatasheet.

Note

The SubdatasheetName property applies only to tables and queries within a Microsoft Access database.

Setting

The SubdatasheetName property in a string expression representing the name of the table or query bound to the subdatasheet.

The easiest way to set the SubdatasheetName property is by using a table's property sheet. You can set this property by using Visual Basic.

To set the SubdatasheetName property by using Visual Basic, you must first either:

  • Set the property in table Design view.

  • Create the property by using the DAO CreateProperty method.

See also

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.