What Happened

Galstar

New member
Local time
Today, 08:03
Joined
Feb 24, 2005
Messages
6
Strange one for me. My VBA no longer stops at breakpoints. If I go into code behind my froms and click a line fo rit to stop an drun the form. Nothing it runs the code but never stops(breaks) Why? what did I turn off??
 
If you try the Stop statement, does that change anything?

Have you changed any of the db properties, for instance the AllowBreakIntoCode property? As in

Dim dbs As Database
Set dbs = CurrentDb

with dbs
.Properties("AllowSpecialKeys") = False
.Properties("AllowBreakIntoCode") = False
end with

Alter to true (I think the AllowBreakIntoCode property needs to be set in conjuncture wiht the AllowSpecialKeys property, but I'm not sure.
 
Sometimes this happens, could you post the db.... or possibly some code?
 
I figured it out

I found out that the Special Keys had been unckecked in the Startup. This prevents it from stopping on breakpoints among other things. Thanx for helping though

modest said:
Sometimes this happens, could you post the db.... or possibly some code?
 
Glad you found the answer! I just wanted to make sure you were hitting the breakpoint... rather than skipping over it with an IF.
 

Users who are viewing this thread

Back
Top Bottom