Question Button stops working

mauni

Registered User.
Local time
Today, 08:33
Joined
Feb 10, 2009
Messages
23
[FONT=Verdana, Arial, Helvetica]I have access 2007

I create simple form that has one button. It has only one vb script that
makes a msgbox appear.

The button and code works fine, but after i save the access file, it stops
working!

Only way to get it back working is rename the file to accdb -> accdr, so it
opens the file in "read" mode and the button works. In work mode it doesn't. No errors, just doesn't do anything.

Is this a bug or what?

I have some tables in the file that are linked via ODBC, but they shouldn't
have anything to do with the button.

I tried creating the file from scratch, but the problem repeats itself again.
First the button works and msgbox appears, then it stops working. All by
itself!

I'm going crazy with this problem.
I can send the example file if somebody provides email, so they can study it.

[/FONT]
 
>>>It has only one vb script that makes a msgbox appear.<<<

Please could you post this code.
 
Thanks for the help

I found out the problem was in security settings. Needed to set the folder i was working in as trusted location in the access settings. After that it works ok.
 

Users who are viewing this thread

Back
Top Bottom