Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Multiple Values From a UDF
Message
From
21/01/2005 13:31:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00979276
Message ID:
00979371
Views:
15
>Dragan,
> I am sorry I didn't specify. I am passing one parameter, a Primary Key Value. Based on that PK I will want values returned from 3 or more different fields. The other catch is that which field I want will change based on the PK. I think I have it now.

If that's the case, you may have yet another object-based solution. If all the fields are in one record, you could simply SCATTER MEMO NAME loObj FIELDS ..., and then RETURN loObj. This will work as long as you want pure field values with the object properties containing names that match the fields.

I'm sure what you wanted was yet another solution ;->

-- Randy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform