How make form fill the screen

I have a database setup as overlapping windows but I have one form set from a command button on a form to open in datasheet view.  But I want it to fill the screen when it opens.  It is not doing this.  Here is my code for the onclick event of the command button:

DoCmd.OpenForm "frmMemberGoals", acFormDS, , , acFormEdit, acWindowNormal

How can I make the form fill the screen?
SteveL13Asked:
Who is Participating?
 
mbizupConnect With a Mentor Commented:
Try adding this to the open event of your datasheet:

Docmd.Maximize

and this to it's close event:

Docmd.Restore
0
 
SteveL13Author Commented:
Yep.  Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.