I had set a VBA breakpoint in the Before Update event of a form while I was debugging the form. I'm now finished debugging but every time I execute the code, the code stops at the previously set breakpoint. I've tried ctrl-shift-F9, using F8 to complete the routine and anything else I could think of but the breakpoint keeps kicking in and the code halts.
What am I missing?
Thanks, in advance.
Breakpoint won't clear - Access 2007
-
- 3StarLounger
- Posts: 390
- Joined: 26 Jan 2010, 16:02
- Location: Las Vegas, NV
Breakpoint won't clear - Access 2007
Carol W.
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Breakpoint won't clear - Access 2007
There are some things you can try:
Edit the code (it doesn't matter what, for example type a space), then compile the code (Debug | Compile <project> in the Visual Basic Editor) and compact the datatabase in Access itself (Office button > Manage > Compact and Repair Database)
or
Delete and retype the line with the phantom breakpoint, then compile and compact as described above.
Post back if this doesn't help.
Edit the code (it doesn't matter what, for example type a space), then compile the code (Debug | Compile <project> in the Visual Basic Editor) and compact the datatabase in Access itself (Office button > Manage > Compact and Repair Database)
or
Delete and retype the line with the phantom breakpoint, then compile and compact as described above.
Post back if this doesn't help.
Best wishes,
Hans
Hans
-
- 3StarLounger
- Posts: 390
- Joined: 26 Jan 2010, 16:02
- Location: Las Vegas, NV