Access 2003 VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

VBA code in a form at a client occasionally pauses during execution. Line is
yellow highlighted. F5 continues, with some issues because the form is in
modal mode. Compacting did not help. I put a blank line in the module, before
the suspended line, and the problem is gone. Could this problem be caused by
some obscure setting?
 
It could be a minor corruption, but this happens most often if you saved a
module with a breakpoint in it. It will save the breakpoint and halt the
code as you have experienced.
Fastest way to check for this is to go to the Debug menu and select Clear
All Breakpoints, then compile and save.
 
Thank you, Dave. It probably was an old breakpoint. I'll follow your
suggestion for next time.

Barada nikto. (It's all I know in Klaatu's language. Hope it means thanks.)
 
Back
Top