In design view open the properties window for the command button. On the Event tab, ensure that the On Click field has [Event Procedure] in it. Then click in the field where you see [Event Procedure] and click on the [...] button to the right. This will open the code editing window. Make sure that it opened it to the correct function.
If on the other hand clicking on the [...] creates an empty function, you'll have to copy & paste the code from the correct function into the one that was newly created.
"A E" wrote:
[Quoted Text] > database was created in Access 2003 and our computer was upgraded to Access > 2007, it open database in Access 2007 and all working fine, then suddenly > command buttons stop working. Any idea how to solve this?
|