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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA breakpoint not clearing in execution mode

Status
Not open for further replies.

CJwater

IS-IT--Management
Mar 26, 2008
34
US
Has any one ever had an issue with "Breakpoints" not clearing
and in code execution stopping at an old breakpoint?


I cleared all breakpoints and recompile but in execution mode it still stops at an old breakpoint that I use for testing. I compacted and repaired same results. I'm at a lost.

PS: My VBA Options settings are to break on unhandled errors there is not error. It's just hitting an old breakpoint.

Any thoughts anyone?
CJ
 
You don't have a watch set up on that particular part of the code do you (View-->Watch Window)?

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
If it isn't reset by altering one line, then compile and save, I'd think it's a mild form of corruption.

Use either the steps detailed in Tony Toews faq (note - between step 2 and 3, exit the database and all instances of Acces, reopen the database without running any code, then Compact & Repair)

or try the .SaveAsText/.LoadFromText methods of the application object (see for instance or thread705-834817 ...)

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top