Error messages not showing.

arvdot

Registered User.
Local time
Today, 06:26
Joined
Mar 13, 2009
Messages
21
Okay, I know I brought this upon myself, but I need to fix it and I don't know how. A couple weeks ago, I was playing around with the ability to disable the ctrl break command from working in access. Well, ever since I did it, my porgrams will no longer stop execution and tell me where an error is -- they just don't execute.

Now, this is what I wanted...except I accidentally used it on one of my other databases that I am still working on without knowing that I didn't know how to disable it :(. I'm not exactly sure which command I used to disable the control break, but it was either

Application.EnableCancelKey = wdCancelDisabled

or

ChangeProperty "EnableCancelKey", 1, True

Now I've tried both using enablecancelkey = wdcancelinterrupt and changeproperty to false but neither seem to work. Is there a specific time in my code that I am suppose to use these methods? Like say right before I close the db or right when I open? Thanks.
 
Try this thing
Code:
docmd.setwarnings true

May be that helps

Aman
 
Sorry, no dice. Doesn't do anything.
 
Hmm, am I really the only person that this has happened to!?
 
are you sure the error messages arent showing? thats different to breaking a programmes execution.

try to run some code with some obvious error - eg

msgbox(12/0)

see what happens.
 
I did try that earlier and it didn't work. I found the issue though. I had use access special keys turned off as well. I didn't think that this would have effected access from displaying errors, but it did. It's fixed now.
 

Users who are viewing this thread

Back
Top Bottom