I've been looking through the UT for info on array passing (between forms) and haven't been able to find what I'm looking for.
I have been able to succesfully pass an array to a form, (DO FORM frmName WITH aArrayToBePassed).
However, I cannot
return an array from a called form. I've tried:
DIMENSION aReturnArray[2]
DO FORM frmCalledForm TO aReturnArray
Then in the called form, in the Unload() method:
RETURN aArray
Using the debugger, I know the form being called has correctly set the values of the array being returned. But the only value that makes it back to the original form is the first value of the return array.
I don't necessarily need to pass an array, but I do need to return more than one value from a form. Since it seems you can only specify one value in the TO clause when calling a form, I assumed an array would do the job.
Can somebody please explain how to do this?
Thanks!