J
Jason M Canady
I am using the following VB to open a report but cannot seem to get the
preview window to open maximized. Am I missing something? Can someone
please point me in the right direction?
Thanks, Jason
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
stDocName = "Equipment Report-Location"
DoCmd.OpenReport stDocName, acPreview
DoCmd.RunCommand acCmdZoom100
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
preview window to open maximized. Am I missing something? Can someone
please point me in the right direction?
Thanks, Jason
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
stDocName = "Equipment Report-Location"
DoCmd.OpenReport stDocName, acPreview
DoCmd.RunCommand acCmdZoom100
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub