Hiding forms

melvis

Registered User.
Local time
Today, 18:05
Joined
Aug 2, 2002
Messages
40
Hi all,

I have tried searching for other relevant posts but have not found anything.

I have a form that gives the user the option of opening up 3 different forms (bit like a switchboard).

When a form is selected to open, upon opening, the main selection form is visible behind the opened form.

Does anybody know of a way in which I can get the main selection screen to disappear whilst a form is open and then reappear once closed?

Cheers
 
On the form, to make it invisible

Me.Visible = False

From another form:

Forms!MyForm.Visible = False
 
Mile-O,

I'm having a mental block, where do I insert the code you stated on your reply?

Thanks
 
On the "On_Click" event of your personal switchboard form for the button to open the next form put this line of code in:

Me.visible = false

Then - in the "On_Close" event for the opened form put this:

Forms!frmYourPersonalSwitchboardFormName.visible = true

(Just trying to help you out Mile since you've added more responsibility to your plate now as forum Mod! :D )

HTH,
Kev
 

Users who are viewing this thread

Back
Top Bottom