By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,397 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,397 IT Pros & Developers. It's quick & easy.

Maximizing forms

P: n/a
I'm calling a form from a button on a main form. I can't get it to come
in maximized. This is my code:
DoCmd.OpenForm sForm, acNormal
DoCmd.Maximize

There must be some settings I'm missing.

thanks,
mjm
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
michael montagne wrote:
I'm calling a form from a button on a main form. I can't get it to come
in maximized. This is my code:
DoCmd.OpenForm sForm, acNormal
DoCmd.Maximize

There must be some settings I'm missing.

thanks,
mjm


In the called form (not main form), put in
Docmd.Maximize
in the OnActivate event and if you want
Docmd.Restore
in the OnDeactivate event

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.