>I have a form which allows user to create subject and body for emails. On the form is a browse button which when clicked gives a list of emails that have been created in a listbox. The listbox on the form is bound to a table. When I select an email that I want to edit you select from the list box and then when you click OK the child form closes and the main form refreshes to show the email. The problem is my record pointer moves fine but the form does not refresh until I click on edit. How do i refresh the form when closing my other form please?
As per David's suggestion to pass the calling form as a parameter, it's not even necessary to do that. You can pick up the calling form reference in the Load of the child form by accessing _SCREEN.ActiveForm. Until the child form is actually instanciated, _SCREEN.ActiveForm refers to the calling parent form. So in the Child.Load, you could then save that reference into a Child.oCallingForm property.