ACC: GoToRecord Macro Does Not Work on SubformLast reviewed: May 7, 1997Article ID: Q92685 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. If you create a GoToRecord macro that points to a subform and run that macro from the main form, you may receive the following error message:
Object '<Subform Name>' isn't open RESOLUTIONUse a GoToControl macro action to specify the subform control name, and then use the GoToRecord action to move to the next record within the subform. Leave the ObjectType and ObjectName arguments of the GoToRecord action blank and set the Record argument to Next.
STATUSThis behavior is by design.
MORE INFORMATIONThe "GoToControl Action" Help topic contains a tip which reads as follows:
Tip You can use the GoToControl action to move to a subform, which is a type of control. You can then use the GoToRecord action to move to a particular record in the subform.This is correct, but it is necessary to leave the ObjectType and ObjectName arguments for the GoToRecord action blank for this to work successfully.
Steps to Reproduce Behavior
|
Keywords : FmsEvnt kberrmsg kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |