ACC97: Function Called from Command Bar Control Executes 3 TimesLast reviewed: May 21, 1997Article ID: Q162660 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. If you call a procedure in a form class module from the OnAction property of a command bar control in Microsoft Access 97, the function executes three times.
RESOLUTIONStore the procedure in a standard module instead of in a form's class module. When you call a procedure in a standard module in the OnAction property of a command bar control, the procedure executes only once.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about running a Visual Basic function from a button on a custom toolbar, search the Help Index for "toolbar buttons, adding to toolbars," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: menu command bar tool class
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |