Upward incompatibility of Access 2000 macros running under Access

G

Guest

I have an application originally developed under Access 97 and converted to
Access 2000. It runs fine under Access 2000. When someone with Access 2003
tries running it, however, the SetValue action results in a message "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."

This happens consistently with each button invoking a macro which sets
Visible to "No" for the invoking form. (SetValue has Item [Visible] and
Expression No.) In troubleshooting I found that I can't create a bugfree
macro equivalent to the original one if I'm running Access 2003, so there
seems to be something wrong with syntax but I can't find it. Everything
works just fine when running under Access 2000 but not so under Access 2003.

Any ideas?
 
S

Steve Schapel

Steve

The surprising thing to me, is that this macro worked in the previous
version.

Try using an OpenForm action instead, specify the form name, and put
Hidden in the Window Mode argument.
 

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