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
tina - 24 Jun 2007 19:23 GMT
*in the form you want to maximize*, add the following code to the form's
Load event procedure, as
DoCmd.Maximize
hth
> I have form that is open by clicking a button, would like to have the form
> maximized.
[quoted text clipped - 21 lines]
>
> Thanks