>I am setting up a modeless form that can be called from a number of other forms in my application. What is the best way to find out what form called me? I want to know the parent form name so I can load a different set of default values from the registry depending on where I came from in the app.
>
>Comments always appreciated.
You can pass reference to the calling form as a parameter
DO myform WITH ThisForm
DO myform WITH ThisForm.Name
--sb--