Forms

S

Samurai Warrior

Does anyone know how to minimize a form automatically when you open another
form? I have a Master Switchboard and have a couple of windows I'd like to
minimize when I click on a command button a a form. Once I've finished with
that form and have saved the record on it I exit and then the form I
originally came from where the command button was on would open up again when
I exit the form I was just in. Any clues?
 
R

Randy

Samurai said:
Does anyone know how to minimize a form automatically when you open
another
form? I have a Master Switchboard and have a couple of windows I'd like
to
minimize when I click on a command button a a form. Once I've finished
with
that form and have saved the record on it I exit and then the form I
originally came from where the command button was on would open up again
when
I exit the form I was just in. Any clues?

Samurai, try to create a public function within the form you want to
minimize. Use the "DoCmd.Minimize" instruction on that function. Then call
that function from outside the form ( Call
Forms("FormToMinimized").PublicFunctionName( ) ) to have it minimized.

-Randy
 

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

Top