Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Return Values
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00590869
Message ID:
00591367
Views:
25
>>>Is it possible to have multiple return values coming from a form. If so how?
>>
>>Several strategies.
>>
>>1. Pass the calling form/object as a parameter and have the called form manipulate appropriate properties on the calling form.
>>
>>2. Instantiate the form with CREATEOBJECT syntax, have the calling program/form reference needed properties on the called form to assign values, then close the form.
>>
>>3. Set public variables (ugh).
>>
>>4. In VFP 7, you can return an array from a form/function, but there are some restrictions.
>>
>
>Or (5) instance and return a parameter object, which can be as complex as you'd care to make it!

Or (6) Return a delimited string and parse afterwards

Bob
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform