G
Guest
I have form that is open by clicking a button, would like to have the form
maximized.
Following is the code:
Private Sub f0_ich_Click()
On Error GoTo Err_f0_ich_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "f0_ICH"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_f0_ich_Click:
Exit Sub
Err_f0_ich_Click:
MsgBox Err.Description
Resume Exit_f0_ich_Click
End Sub
What do I need to add for the form to be maximized.
Thanks
maximized.
Following is the code:
Private Sub f0_ich_Click()
On Error GoTo Err_f0_ich_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "f0_ICH"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_f0_ich_Click:
Exit Sub
Err_f0_ich_Click:
MsgBox Err.Description
Resume Exit_f0_ich_Click
End Sub
What do I need to add for the form to be maximized.
Thanks