opening a report in full window mode

Weresmytriple

Registered User.
Local time
Today, 22:20
Joined
Sep 5, 2013
Messages
58
hi

i have a button opening forms however when they open they appear in window mode and not full screen. is there an option or a line of code of code i am over looking to make it open in full screen mode?

thanks

michael

ps. i am using access 2010
 
Private Sub Useful_Websites_Click()
On Error GoTo Err_Useful_Websites_Click
Dim stDocName As String
DoCmd.Close
stDocName = "Websites"
DoCmd.RunMacro stDocName
Exit_Useful_Websites_Click:
Exit Sub
Err_Useful_Websites_Click:
MsgBox Err.Description
Resume Exit_Useful_Websites_Click

End Sub
 
Only way I ever saw to do this was from the report, not the button calling it.
Code:
Private Sub Report_Open(Cancel As Integer)
    DoCmd.Maximize
End Sub
 

Users who are viewing this thread

Back
Top Bottom