>I want to allow a user to enter a date range to run some reports. I thought I would create a form and pass it a default start and end date and a form caption. I want the form to return the dates that the user entered. I have created a modal form, the dates and caption are being passed, everything works great. How do I return the dates to my calling program though? I tried DO FORM
WITH p1,p2, p3 TO . The problem is that you can only return one value. I made the value an array, but it is only passing the first value in the array.
>
>Thanks,
>
>Paul
pass the vars by reference so the changes (if any) will be made in the vars in the 'calling' program.
do form mymodalform with @startdate, @enddate, title