ACC: Error Message "Macro '' Not Found"Last reviewed: May 7, 1997Article ID: Q98226 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you are entering data using a form, you may receive the following error message:
Macro '' not found CAUSEThis behavior can be caused by one or more spaces having been inadvertently typed in either the form's or a control's event properties, such as OnCurrent or AfterUpdate.
RESOLUTIONOpen the form in Design view and remove the space(s).
STATUSThis behavior is by design.
MORE INFORMATIONMicrosoft Access trims the space when displaying the error message, so you see two single quotation marks with no space separating them, which looks like one double quotation mark. You should be able to determine whether the space is located in a control's event property or a form's event property, based on what actions trigger the message. For example, if the error occurs in one of the following situations, check the suggested properties.
Once you have determined which property is causing the behavior, open the form in Design view and remove the space from that property. If you are still not sure which property is causing the behavior, go to each property that is blank and press the DELETE key. NOTE: You may have spaces in multiple properties; therefore, it is a good idea to check them all.
Steps to Reproduce BehaviorThis example uses the sample database Northwind.mdb (or NWIND.MDB in Microsoft Access 1.x or 2.0).
REFERENCESFor more information about event properties, search the Help Index for "Event Properties," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: space event
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |