By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

Stupid infinite loop problem

P: 2
Im sure there is a simple answer to this, but I cant find it.

I have done a stupid thing, put an infinite loop in a form that executes immediately I open the access file. This locks up Acess and I can do nothing.

how can I open the file without it exectuing the code?

TIA
Feb 19 '08 #1
Share this Question
Share on Google+
3 Replies


puppydogbuddy
Expert 100+
P: 1,923
Im sure there is a simple answer to this, but I cant find it.

I have done a stupid thing, put an infinite loop in a form that executes immediately I open the access file. This locks up Acess and I can do nothing.

how can I open the file without it exectuing the code?

TIA
Try holding the shift key down while clicking the application icon. Don't release the shift key until the application boots up.
Feb 19 '08 #2

P: 2
Try holding the shift key down while clicking the application icon. Don't release the shift key until the application boots up.
I knew there would be a simple answer, many thanks.
Feb 19 '08 #3

NeoPa
Expert Mod 15k+
P: 31,768
Another answer is to use Ctrl-Break once the code has started. This will normally drop you into the VBA debugger. From there you have full control :)
Feb 20 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.