>I need to have a main form run a 2nd small lookup form. How do I return a value from the 2nd form back to the main form.
If this form is modal then it's pretty simple: you start the form :
Do form myform TO nRetvalue
and return something from Form.Unload event
Return Thisform.Retvalue
If you use modeless form, then you better create custom property in main form and reset this property when you close lookup form:
**Form.Destroy event
oApp.Mainform.Property1="...."
Edward Pikman
Independent Consultant