Expression Error-On Click

G

Guest

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
 
S

StCyrM

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
 
A

Allen Browne

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.

Reply to group, rather than allenbrowne at mvps dot org.

Rich said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top