Link to home
Start Free TrialLog in
Avatar of faklappenberger
faklappenberger

asked on

"You canceled the previous operation"

I've created a large Access 2000 MDB with a number of forms (tables, queries, modules and reports).  All of the forms have VBA.  

Recently, after I made a modification to the VBA on one of the forms, I received the standard Access query of "Do you want to save changes to the design of form 'XXXXX' ?" along with the 3 options of Yes, No, and Cancel.  I selected "Cancel" because I remembered another change I wanted to make to the VBA.  After I made the change to the VBA and attempted to save again, I received the message, "You canceled the previous operation" accompanied by an OK button.  Multiple clicks on the OK button eventually made the message go away, but now I can't make any changes to the form, even if I close the database, application, and Access and restart them.  I always get the same error message following an attempt to edit the VBA of the form and save it.  Also, I can't delete the form in question.

I searched the Microsoft site but can't find any help.  I've tried the Access repair option with no success.  What the heck is going on?  Any suggestions on how to fix or restore the forms in the MDB?
.
ASKER CERTIFIED SOLUTION
Avatar of MacRena
MacRena
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hotbudare
hotbudare

I'd try to decompile the database.
Go to http://www.trigeminal.com/usenet/usenet004.asp?1033
and follow aplicable recomendatios.

DON'T FORGET TO BACKUP!!!

HTH/EQTA
T.S.U. Mario Osorio
Punto Fijo, Falcon, Venezuela
Hi faklappenberger,

Did you install Office SP-2 yet?

If not, then I suggest that you install it.

Check "Office 2000 Service Packs and Service Releases" in here:
http://support.microsoft.com/support/ServicePacks/Office/2000/Default.asp?LN=EN-US&SD=gn&FR=0&qry=sr&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=OFW

In general, Office 2000 SP-2 (Service Pack 2) includes many bug fixes (migth be that the one that you
are reporting on is included...).


Note that in order to install the Office SP-2, you must install Office SR-1/SR-1a (Service Releace)
first.

Please read the instructions carefuly.

Hope this helps,

Nosterdamus
Avatar of Jonathan Kelly
faklappenberger:

i got the very same error last night.
the only i could get around it was to create a new db and import all the objects.

note that i dont have SP2 installed !
Avatar of faklappenberger

ASKER

Fast response with good ideas, one of which worked.
Thanks for everyone's response.  Mac Rena responded within minutes of my posting the problem.  Following his advice, I created an new, empty db, imported all objects from the corrupted db into the new db, and voila!, everything appears to work.  
Great!  I love to repay the experts who taught me these tricks by passing them along!
Mac
I thought I should add to this thread...
I had the exact same error occur for me, and googling brought me to this page.  However, in my case, i was not able to pinpoint which form was the cause of the problem and wasn't sure what to import versus rebuild...and rebuilding is no picnic anyway.  So after a compile, compact and repair failed, I tried the /decompile switch.  It did nothing in Access 2000 (maybe didn't exist then?) but it saved the day when I decompiled using Access XP.  I did not have to rebuild anything and so far have not found any adverse affects.