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

Acess, how to open Forms/Reports in full windows?

Status
Not open for further replies.

mesafloyd

Technical User
Aug 19, 2006
31
US
Hi,
I have a couple of simple forms with buttons that open forms and a report.

However the buttons open these objects in 'small' windows.... I have to click the "Maximize" button in the upper RH corner... annoying.

How do I make the button even open these objects in Maximized windows?

Thanks in advance.
 
mesafloyd,
[tt]DoCmd.Maximize[/tt]?

Add the following code to the Open and Load events of your form:
Code:
Private Sub Form_Open(Cancel As Integer)
Me.Visible = False
DoCmd.Maximize
End Sub

Private Sub Form_Load()
Me.Visible = True
End Sub

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Thanks again Caution,

That did it.

I know what I want it to do, just don't know the commands. The 'dummy' books I have are helpful but if I don't know the command... it is difficult to find it...

(You and your white horse must be tired to coming to my resuce...)

Floyd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top