>Hi Ed,
>
>I'm still struggling with this same program. I had to push it to the side for a while for other projects & just now getting a chance to get back to it. I'm almost there! :)
>
>I am calling the modal form in the report's init event. Is that my problem? Does the variable from the modal form have to be defined & value set before the REPORT FORM command is issued?
>
>Thanks for your help!
It's natural to call the modal form first and then issue REPORT FORM ... from some snippet, e.g. cmdRunreport.Click event. This case you shouldn't care about returning values.
BTW, you can still use your way, but then you must return values storing them in custom properties of external (e.g. oApp) object.
Edward Pikman
Independent Consultant