D
David Portwood
The Access 2K text I'm reading says the following should work:
Form_MyFormName.PublicVar = "New Caption"
Forms!MyFormName.visible = True
The text says that even if MyFormName is not loaded, this syntax will load
the form hidden and then make it visible.
Well, when the form is not open, it does automatically load the form hidden.
However, the second statement blows up. Error message says it can't find
"MyFormName". But it definitely is loaded hidden. I can unhide it manually.
Is the text wrong? Am I doing something wrong?
Form_MyFormName.PublicVar = "New Caption"
Forms!MyFormName.visible = True
The text says that even if MyFormName is not loaded, this syntax will load
the form hidden and then make it visible.
Well, when the form is not open, it does automatically load the form hidden.
However, the second statement blows up. Error message says it can't find
"MyFormName". But it definitely is loaded hidden. I can unhide it manually.
Is the text wrong? Am I doing something wrong?