Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an array from a form
Message
From
09/05/2000 15:49:49
Matt Trainor
Medical College of Georgia
Augusta, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Returning an array from a form
Miscellaneous
Thread ID:
00367796
Message ID:
00367796
Views:
61
I am trying to return an array from a form but after my form unloads, the array elements' values are all set equal to the first element value. I've messed with this in both vfp5 and vfp6sp3 without getting it to work. Knowing the array must be passed by reference, I have fooled around with SET UDFPARMS TO REFERENCE in the calling program and in the form's unload event before the return statement to no avail. I have tried DO FORM myform TO @aSelectedItems and get a syntax error in vfp5 and no change in vfp6sp3. I have tried RETURN @aSelectedItems and get a syntax error. Is there something I'm missing here or should I switch to a parameter object??

Thanks in advance, Matt
Next
Reply
Map
View

Click here to load this message in the networking platform