Hidden form

G

Glenn Suggs

I'm trying to open a form as hidden so that queries, other forms, etc. can
refer back to information that is needed. This is because these routines may
be launched from different places in the application. Anyway, I'm having
trouble making the forms open as hidden or even as an icon. I've tried both
of these and they are not working. Any suggestions?

DoCmd.OpenForm formname, , , stLinkCriteria, , acHidden
DoCmd.OpenForm formname, , , stLinkCriteria, , acIcon

Thanks,
 
R

Ron2005

This may be a dumb question, but how do you know you are having a
problem? If the form is hidden, you can't see it. The problem may be in
trying to reference the info on the form as opposed to opening the form
as hidden.

I have a login in form. When they hit the button to go to main menu,
the on open event of the main menu is to docmd.openform
"HiddenFormName",,,,,achidden

The main form opens also and I can reference fields on the hidden form.

Ron
 
J

Jeff Boyce

Glenn

"... having trouble ..."

How do you know? Are you getting an error message? What does it say?
What's happening to make you think you are "having trouble"?
 
Top