Hi Folks,
I have several forms as part of a project. When I began this project, I didn’t know any better, but now I’ve discovered the application needs to be MDI capable.
Essentially, several of the data entry parts of most forms need to be handled a bit differently to validate the entry. A Message Box or Input Box would not be sufficient so I have had to make a small specific form that would be a child to all the others.
Trouble is: I have made no provision anywhere in the code to allow one form to be a child of another… perhaps better said “no provision for any of the forms to be child aware”.
In any event, I use this code: frmCustCmb.Show vbModal, Me to call up that little verification form but receive an error
No MDI form available to load (Error 366)

and I know that frmCustCmb.MDIchile=True

So I have a couple of questions about this “child form” stuff:
(1) How do I tell the parent form, in this case frmCustomer that it is a parent, and should let the child work?
(2) The start-up object for this application is a sub Main(). What ought I do to convert the whole thing to an MDI capable app?

Many thanks
-Paul-