My main purpose is for reverse engineering the access database
application. Thus, whenever a form button is clicked (any event
trigger), I see what code its stopping in, and can step through code
back to form. Ideally, I could set Access into a "Global VBA Code
Debug Mode" so it just stops anytime entering code, but its looking
like thats not possible.
AFAIK, that is correct, there is no way to just make it break for no reason.
If you're reverse engineering then the way to go *IS* to put a breakpoint on the
event handler for a control. Then you step through everything that happens
after that. I was once hired to document an old Access application that had
been developed by a contractor a few years before. One by one I put breakpoints
behind event handlers and finally figured out what the heck that thing was
doing.
Good luck.
RD