I have a toolbar in my parent form with 2 buttons. One button opens a new child form, the other saves the data in the child form to a database. The trouble is, the "save" event is stored in the child form. If I declare the child form in the "new" function, the save button cannot access the save function. If I declare the child form with the other variables at the beginning, the "new" function causes an error if all child forms are closed (Cannot access a disposed object named "ChildFrm").
How do I get round this?
Sorry if it's badly explained.
How do I get round this?
Sorry if it's badly explained.