Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding Forms

Status
Not open for further replies.

autex

Technical User
Jan 11, 2005
75
US
How do I make a form hidden all the time? I've been playing with me.visible=false. If I attatch this to a command button, I'm good to go. If I attach this to form_open, form_load, form_current. I can still see the form. I wan't a "background form" that has an ontimer event that is always running.

Thanks.
 
i have the same thing...

on my form that opens first i have this on the load section
Code:
Private Sub Form_Load()
    DoCmd.OpenForm "frmDatabaseIdleTime", acNormal, , , , acHidden
End Sub
hope that helps.

Jared
 
or:

In [blue]form design view[/blue], set the [blue]Visible Property[/blue] to [purple]No[/purple], and open normally.

Calvin.gif
See Ya! . . . . . .
 
AceMan,

I never knew there was a visible property for a form you can set in the design view. All these years I used to set it via VBA. Which tab is it under because I can't find it?

right now I am using 2000 my newer versions are at home.

Thanks
 
nice95gle . . . . .

Your right! . . . . I was thinking of something else . . . sorry about that!

Calvin.gif
See Ya! . . . . . .
 
nice95gle,

View the code for your form, look in the "Properties Window" of Visual Basic, set your tab to alphabetic, and set "visible" to false.

In design, there is a visible property under format for the "Detail" section, but I don't see one for "Form" properties either.

On the other hand I usually use something like
DoCmd.OpenForm "frmMyForm", , , , , acHidden on "Load" for my form.

Now that I think about it, I usually open a hidden form on "Open" from my main form (which is visible). That should do the trick.

Hope it helps,

Tony
 
It all helps and it's working great, thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top