Cosmos75
Registered User.
- Local time
- Yesterday, 23:47
- Joined
- Apr 22, 2002
- Messages
- 1,281
I had this code behind my delete button (used the button wizard for this). This is an Access 97 database
But it stopped working. I've changed it to this.
It now works but why did it suddenly stop working??
Is it because I've modified the menus in Access?
PHP:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
But it stopped working. I've changed it to this.
PHP:
DoCmd.RunCommand acCmdDeleteRecord
Me.Refresh
It now works but why did it suddenly stop working??
Is it because I've modified the menus in Access?