[AccessD] 2001 Error - You cancelled the previous operation

Mark Simms marksimms at verizon.net
Sun Oct 2 23:22:34 CDT 2011


After hours and hours of testing this, I came to the conclusion that unless
I trap the vbKeyEscape in the KeyDown event handler, I am unable to add a
new record to a form after an undo has occurred. I get this dreaded 2001
error which appears to be a misleading one.

 

It appears that an UnDo condition throws the form into a tizzy-state. Any
method of attempting to add a new record after an undo has occurred either
with a RunCommand GotoRecord acNewrec directive or trying to do an AddNew
and Bookmark ... all fail. When I kill the escape key, all is well..but of
course, my users are mad.they cannot undo the record.

 

Unless I'm missing something , this is definitely a bug, no ?




More information about the AccessD mailing list