cancelupdate doesn't - why?

N

nickpup

I have Access 2002 with an .adp file talking to SQL Server 2000. I have a
form that allows the user to cancel an added record. Some of the record
operations were done using menu commands like:
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70

These don't always seem to work and I think they are obsolete. I tried
using recordset.cancelupdate, inside the cancel buttons click event, to
remove a newly added record that is being cancelled but it seems to do
nothing.

Why doesn't recordset.cancelupdate work? How can the command be executed
and just be ignored!?

Thanks,
nickpup
 

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

Similar Threads


Top