How to suppress the delete confirm box and go on?

G

G Lam

Hi, I use the following codes to delete a record, but every time, Access
2000 pops up a delete confirmation box and asks for confirmation. How can I
suppress this box and keep on going without the user clicking a button?
Thank you
Gary

(Afterupdate event VBA codes)
If Bcode = OldOBC Then
Pieces = Pieces + 1
DoCmd.GoToRecord , , acNext
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Endif
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top