AllowBreakIntoCode

kaulam

New member
Local time
Today, 12:05
Joined
May 31, 2003
Messages
6
I would like to disallow break into code when problems occur as I do not want users to see the code. I have set AllowBreakIntoCode to False but it does not work (still breaks into code).

Can anybody tell me what is wrong?

Thanks very much!

Karl
 
Last edited:
If you've followed the example in the help file then I don't know what to tell you. Setting the AllowBreakIntoCode property to false is all you do. I've never had any problems with it.

Maybe it's where your executing it in code? Are you sure it's getting executed?

Things that make you go Hmmm...

You can also manually disable it in Access 97 by opening the Startup Properties on the Tools menu, then when it is open click on the Advanced Button, and you should see a checkbox for "Allow Viewing Code after Error", uncheck the box and close the database and reopen it to check, but you should have it enabled when debuging or developing.
 
Thanks Calvin,

I have found out why. I pressed the Shift key when opening the db and thus by-passed the startup processing. With startup by-passed, Access used the default which I guess is "allow break into code".

Karl
 

Users who are viewing this thread

Back
Top Bottom