Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't reset code

Status
Not open for further replies.

Trudye

Programmer
Sep 4, 2001
932
US
I am sure I am not the first to attempt this. You are stepping through some code (using debug) and you see where the problem is, rather than stop the code you attempt to make the change and continue. Only Access 2000 won't let you, it stop processing and will not let you restart.

I tried breaking, runing a stop macro, running another pgm, re-booting my system, compact and repair. I still get the same msg "Can't perform requested operation" when I try to compile the module or restart the module.

How do I get around this other than never changing code while the module is running (fat chance of that)?

Thanks so much
Trudye
 
I figured out a way to reset it. It may not be the desired method but what the HAY!

Leaving the program with the error msg showing and reboot causes enough of an interrupt for a msg stating the program state will be reset (which is what you want). Continue with the reboot and by the time you come back up you are ready to go.

I would however do a compact and repair befoe rerunning.

Just thought I would pass it along.
Trudye
 
Did you try to use the menu Run/Reset? As I understand it after you broke on the line of code you would change the code and press F5 to continue but it would not run.
-------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
My problem is I never clicked the Break button I just proceeded to change the code whiel still in run mode. Access objected and the rest is history.

After Access hung I tried everything I mentioned above (in my initial explaination) and nothing would reset the project. The only way I was able to reset it was what I explained in my 2nd explaination.

Thanks for the thought
Trudye
 
I can't imagine having to go through the pain you do. I would like to be able to help you not do that.

"I am sure I am not the first to attempt this. You are stepping through some code (using debug) and you see where the problem is, rather than stop the code you attempt to make the change and continue. Only Access 2000 won't let you, it stop processing and will not let you restart.

I tried breaking, runing a stop macro, running another pgm, re-booting my system, compact and repair. I still get the same msg "Can't perform requested operation" when I try to compile the module or restart the module."

The proper method is to set the breakpoint on a line of code, when it stops make a change to the code, then F5 to continue or reset to stop the processing. Did you try to use the menu Run/Reset? You didn't state that you tried the run/reset. In the 7 years of working Access I have never had this problem or seen it on a newsgroup.


-------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top