D
Dave
Hi,
I'm trying to use the IsLoaded() function in Access 2000. I have the
function defined in a module, and I'm calling it into a sub procedure.
This works perfectly when running my app from within Access 2002
(Access 2000 format), but when I run my app in Access 2000 and the sub
procedure runs, I get a message box that reads:
______________________
"Compile error:
Variable not defined"
______________________
and "acCurViewDesign" is highlighted in the module during the
debugging process.
This happened not only in my app, but when I tried to open the
Suppliers form from the Northwind Sample database within Access 2000.
The only version of Northwind I have is what came with Access 2002.
So, is there a way to define this variable and get this function to
work in Access 2000, and if so, how do I do it, or is there some other
piece of code/function that will work in Access 2000 to test whether
or not a certain form is currently open/loaded?
Thanks,
Dave
I'm trying to use the IsLoaded() function in Access 2000. I have the
function defined in a module, and I'm calling it into a sub procedure.
This works perfectly when running my app from within Access 2002
(Access 2000 format), but when I run my app in Access 2000 and the sub
procedure runs, I get a message box that reads:
______________________
"Compile error:
Variable not defined"
______________________
and "acCurViewDesign" is highlighted in the module during the
debugging process.
This happened not only in my app, but when I tried to open the
Suppliers form from the Northwind Sample database within Access 2000.
The only version of Northwind I have is what came with Access 2002.
So, is there a way to define this variable and get this function to
work in Access 2000, and if so, how do I do it, or is there some other
piece of code/function that will work in Access 2000 to test whether
or not a certain form is currently open/loaded?
Thanks,
Dave