Hey I am using Access 2000 from Office 2000 and I am having a weird problem! I am adding a button to my form to add code to the On Click event for that button. Everytime I click the button I get the error:
---------------------------------------------------
The expression On Click you entered as the event property setting produced the following error: Invalid outside procedure
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, even, or macro.
----------------------------------------------------
Why is this weird? The following is the code for the button
Private Sub myButton_Click()
End Sub
--------------------
After I kept getting this error messege I decided to just take out all my code and see if it still happens, which it does, for EVERY button I add !!! Whats going on ?!?!?
---------------------------------------------------
The expression On Click you entered as the event property setting produced the following error: Invalid outside procedure
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, even, or macro.
----------------------------------------------------
Why is this weird? The following is the code for the button
Private Sub myButton_Click()
End Sub
--------------------
After I kept getting this error messege I decided to just take out all my code and see if it still happens, which it does, for EVERY button I add !!! Whats going on ?!?!?