Maximizing the Database Window

aziz rasul

Active member
Local time
Today, 21:53
Joined
Jun 26, 2000
Messages
1,935
I have a startup form (frmSplash) which is selected under Tools/Startup. When opening the database, frmSplash appears and central to the screen as I want it. However when the form closes after being timed out, I want the database window to be maximized.

How do I do this AND maintain the original dimensions of frmSplash. If I use Maximize in a AutoExec macro, it maximizes frmSplash as well.

Is there a way of referring to the database window in code?
 
I just put this on the unload event of the frmSplash form, and since the only thing open after frmplash closed was the Database window, Thats what it apllied it to...


Hope this helps...


Private Sub Form_Unload(Cancel As Integer)
DoCmd.Maximize
End Sub
 
Thanks for your input. However it doesn't work. All that happens is that just prior to frmSplash closing, the form itself maximises. The db window remains as it is.
 

Users who are viewing this thread

Back
Top Bottom