Hello,
I have set my database start-up to open a Form - which format has been set to "sizable". The Form's "On Open" event has this code in place:
Private Sub Form_Open(Cancel As Integer)
' Minimize the database window and initialize the form.
On Error GoTo Form_Open_Err
' Minimize the database window.
DoCmd.SelectObject acForm, "**DO NOT DELETE**", True
DoCmd.Minimize
Form_Open_Exit:
Exit Sub
Form_Open_Err:
MsgBox Err.Description
Resume Form_Open_Exit
End Sub
The issue is when I open the database, the Form does not appear in the sizable format in which it was set. The Form ends up in maximized view instead.
Any thoughts on what I could do to get the Form to open in the sizable format - similar to a dialog box - ?
Your advice would be greatly appreciated!
Tommy