A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Button stops working



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2009, 06:38 PM posted to microsoft.public.access.gettingstarted
Poppe
external usenet poster
 
Posts: 11
Default Button stops working

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.



  #2  
Old February 10th, 2009, 08:56 PM posted to microsoft.public.access.gettingstarted
ntc
external usenet poster
 
Posts: 130
Default Button stops working

make sure you have the location of your file as a Trusted location in the
Access security

"Poppe" wrote:

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.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.