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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access Form

Status
Not open for further replies.

CLOS

MIS
Jan 30, 2002
23
0
0
US
I need some help with this one. Can somebody Help Me?

I have a form that I use to select a report from, and a
command button to view the report in "preview" mode. After
previewing the report and closing the preview window. The
form that it returns to is not resize to Maximum size. The
size of the form is reduced where you can see other forms.
How do I get the Report form to stay maximized after previewing the report records? Please respond immediately!
Thanks.
 
using the form's "OnOpen" procedure;

DoCmd.Maximize

I think that's where you put it.


 
Actually, I've found that it works best in the Form_Activate routine. Maq B-)
<insert witty signature here>
 
Maguis and Dschomburg,

I tried using the &quot;Docmd.Maximize&quot; function on both the
OpenForm and the OnCurrent properties, and it still didn't
work.

 
On Activate event, not current. Maq B-)
<insert witty signature here>
 
Thanks Maguis,

It worked perfectly. God Bless!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top