Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning Object Value from Program RETURN
Message
From
05/08/2008 16:46:05
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
05/08/2008 15:59:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01336666
Message ID:
01336689
Views:
15
>>The EligibilityValidaton_Worklist is a PRG that is supposed to return a value. When I check the value in the RETURN statement of the PRG it seems correct, but when it gets back to this line, which is in a Button.Click event, the value of oValidateResponse.EligibilityInfor is literally "EligibilityValidation_Worklist()" instead.
>>
>>Any ideas what I'm mucking-up?
>>
>>
>>oValidateResponse.EligibilityInfo = EligibilityValidation_Worklist()
>>
>
>What is the type of the return value? I mean, could you please check whether it is really type Character, or if you have an object reference.

I had a typo in the name of the object. Plus some other stuff.

Follow-up question though. How can I return multiple values from the PRG and populate into the object? Do I have to use @ variables?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform