469,955 Members | 2,423 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,955 developers. It's quick & easy.

Access 2000 form won't close

I have a subform TP which is called from another form Patients. When I close form TP it goes back to form Patients and then immediately I'm in a loop going between the 2 forms. I use docmd.close to close the form. How can I watch every step of code that is executed?
Dec 19 '07 #1
2 2137
puppydogbuddy
1,923 Expert 1GB
I have a subform TP which is called from another form Patients. When I close form TP it goes back to form Patients and then immediately I'm in a loop going between the 2 forms. I use docmd.close to close the form. How can I watch every step of code that is executed?
This link is one of the best tutorials for debugging Access/VBA. For your specific request to step thru the code, click the hyperlink that says Debugger, then go to the section entitled "Stepping Through and Over Code".

http://www.fmsinc.com/tpapers/vbacode/Debug.asp
Dec 20 '07 #2
This link is one of the best tutorials for debugging Access/VBA. For your specific request to step thru the code, click the hyperlink that says Debugger, then go to the section entitled "Stepping Through and Over Code".

http://www.fmsinc.com/tpapers/vbacode/Debug.asp


Thank you for your help.
Feb 11 '08 #3

Post your reply

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

Similar topics

1 post views Thread by Nathan Bloom | last post: by
reply views Thread by M. Farrenkopf | last post: by
6 posts views Thread by Peter Frost | last post: by
6 posts views Thread by Serious_Practitioner | last post: by
10 posts views Thread by Wayne Aprato | last post: by
22 posts views Thread by alecjames1 | last post: by
17 posts views Thread by DaveG | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.