button doesn't work

Blue-Apple

New member
Local time
Tomorrow, 03:00
Joined
Feb 22, 2005
Messages
6
I create a delete button on my form but sometimes it doesn't work (the record has not been deleted after I clicked it). Does any one know why ?

thanks~!
 
This code must be on Click event of button

Code:
    DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
    DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
 
Thanks, I will try that.
 

Users who are viewing this thread

Back
Top Bottom