Hidden form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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,
 
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
 
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"?
 

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

Back
Top