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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Expression Error-On Click



 
 
Thread Tools Display Modes
  #1  
Old June 10th, 2004, 03:08 PM
Rich
external usenet poster
 
Posts: n/a
Default Expression Error-On Click

Hello,
I ran into a problem. I am updating an old database but it is something that is continuously being used. So, I created a new database with all the new features and then I Imported all of the new tables, reports and forms into the old database.

The problem that I have is I am getting a error when I click any of the buttons on the forms ( I used a wizard for all of the buttons). The error message reads
"The expression ON Click you entered as the event property setting produced the following error: Error Accessing File. Network Connection may have been lost
*The expression may not result in the name of a macro, the name of a user defined function, or [Event Procedure]
*There may have been an error evaluating the function, event, or macro

The wierd part is that the databse will work fine for a little while after I import everything, and then for some reason it gives me this error. Can anyone give me advice/help
Thanks in adviance
  #2  
Old June 10th, 2004, 03:26 PM
StCyrM
external usenet poster
 
Posts: n/a
Default Expression Error-On Click

Hi

As a start, go into any module, and from Debug compile the application.
Correct the errors, if any as you go along.

Please post back to let us know how things go.

Best regards

Maurice


Hello,
I ran into a problem. I am updating an old database but it is something that
is continuously being used. So, I created a new database with all the new
features and then I Imported all of the new tables, reports and forms into
the old database.

The problem that I have is I am getting a error when I click any of the
buttons on the forms ( I used a wizard for all of the buttons). The error
message reads
"The expression ON Click you entered as the event property setting produced
the following error: Error Accessing File. Network Connection may have been
lost
*The expression may not result in the name of a macro, the name of a user
defined function, or [Event Procedure]
*There may have been an error evaluating the function, event, or macro

The wierd part is that the databse will work fine for a little while after I
import everything, and then for some reason it gives me this error. Can
anyone give me advice/help
Thanks in adviance







  #3  
Old June 10th, 2004, 03:29 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Expression Error-On Click

Ouch! If this is Access 2000, you may have struck this nasty bug:
Error Message: Error Accessing File. Network Connection May Have Been
Lost.
See:
http://support.microsoft.com/?id=304548

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Rich" wrote in message
...

I ran into a problem. I am updating an old database but it is something

that is continuously being used. So, I created a new database with all the
new features and then I Imported all of the new tables, reports and forms
into the old database.

The problem that I have is I am getting a error when I click any of the

buttons on the forms ( I used a wizard for all of the buttons). The error
message reads
"The expression ON Click you entered as the event property setting

produced the following error: Error Accessing File. Network Connection may
have been lost
*The expression may not result in the name of a macro, the name of a user

defined function, or [Event Procedure]
*There may have been an error evaluating the function, event, or macro

The wierd part is that the databse will work fine for a little while after

I import everything, and then for some reason it gives me this error. Can
anyone give me advice/help
Thanks in adviance



 




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 03:40 PM.


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