maximize report while minimizing form

R

Ra

Maximize report while minimizing form

Could someone give me an idea on how to maximize the report while the form
minimizes?

Pop up and Modal features have to be on “No†in the report properties.

Any help is greatly appreciated.

Ra
 
E

Evi

The 'while' throws me. If I've misunderstood, please say.

If you are opening the report with a button on the form then the button will
say in its code
DoCmd.Minimize
In the report's On Open Event you can put
DoCmd.Maximize


Evi
 
O

Ofer Cohen

Instead, you can set the visible property of the form to no, and then set it
back to yes when you close the report

On the event that open the report

Docmd.OpenReport .....
Me.Visible = False

On the close event of the report, add the code
Forms![Form Name].Visible = True

change the Form Name to your form name
 
R

Ra

Works great !!! Thank you so much,

Ra

Ofer Cohen said:
Instead, you can set the visible property of the form to no, and then set it
back to yes when you close the report

On the event that open the report

Docmd.OpenReport .....
Me.Visible = False

On the close event of the report, add the code
Forms![Form Name].Visible = True

change the Form Name to your form name

--
Good Luck
BS"D


Ra said:
Maximize report while minimizing form

Could someone give me an idea on how to maximize the report while the form
minimizes?

Pop up and Modal features have to be on “No†in the report properties.

Any help is greatly appreciated.

Ra
 

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