ACC: GoToRecord Macro Does Not Work on Subform (92685)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q92685
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
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
RESOLUTION
Use 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.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kberrmsg kbprb kbusage KB92685 |
---|
|