General information
Category:
Coding, syntax & commands
>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.
>
How about encoding the return values into a string, delimited by something like a colon.
eg.
thisform.retvalue = dtos(d1)+':'+dtos(d2)
return(thisform.retvalue)
Then parse the two dates in the receiving program.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only