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
- Access for developers forum
- Access help on support.office.com
- Access help on answers.microsoft.com
- Access forums on UtterAccess
- Access developer and VBA programming help center (FMS)
- Access posts on StackOverflow
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for