Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple parameters returned from form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00030589
Message ID:
00030601
Views:
54
>>>I know I'm not the first to ask, but I wasn't clear about the answer before: what is the best way to return multiple parameters from a form? I have been concatenating my parameters into a string with a separater "|" character, which seems dumb. I believe I tried returning them all in an array but couldn't get that to work.
>>
>>You should have property-array in some place of your application to do this job. I usually have main Formset where I have properties regarray1(1),regarray(2)... just for this purpose: you refill this array in e.g. Init and Destroy events of particular form.
>That sounds like it would work. It also sounds like it would make the whole program use more memory. The nice thing about returned parameters is that they're gone when you're done with them. Or can you redimension that property array to 1 when it's not in use?

Firstly, you can redimension regarray, and also you can recycle it (use it for different forms).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform