Solved

How make form fill the screen

Posted on 2013-11-21
2
325 Views
Last Modified: 2013-11-21
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?
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39667337
Try adding this to the open event of your datasheet:

Docmd.Maximize

and this to it's close event:

Docmd.Restore
0
 

Author Comment

by:SteveL13
ID: 39667348
Yep.  Thanks.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question