ACC: How to Use the Parent Property of a SubformLast reviewed: April 2, 1997Article ID: Q100025 |
The information in this article applies to:
SUMMARYNovice: Requires knowledge of the user interface on single-user computers. This article describes how to use a subform's Parent property to return the name of its parent form.
MORE INFORMATIONThe following is the correct syntax for the Parent property in macro actions called from a subform:
Forms![Main Form Name]![Subform ControlName].Form.Parent.Name -or- Form.Parent.Name -or- Parent.NameThe following example demonstrates how to use the Parent property in a macro:
|
Additional query words: main mainform sub
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |