Upward incompatibility of Access 2000 macros running under Access

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top