"Expression has invalid reference" after upgrading to 2003

G

Guest

I recently upgraded to Access 2003. Prior to the upgrade I had a contact
database where I could preview contacts by project number. I used a form
with a combo box to select a project number from the list of available
projects. Then the report would show all the contacts for that project.

I used the help file "Use a form to enter reprot criteria" to set up the
report and it worked great.

Since the upgrade when I run the report and select a project from the list
and then click OK, I get this error.

"You entered an expression that has an invalid reference to the property
Visible. The property may not exist or may not apply to the object you
specified."

If I click OK it pulls up the macro for my OK button on my form. It says,
Condition = True, Action Name = SetValue, Arguments = [Visible], No

I checked the help file for 2003 on the subject and didn't see where my
macro needed to be changed. Any suggestions?

Liz
 
G

Guest

I figured out the error was not related to the upgrade, but to the security
level on the macros. Just in case anyone else has this problem, you go to
Tools - Macros - Security and change it to low. Apparantly, when the
security is set to medium or higher, there are some commands that will not
run.
 

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