Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning Object Value from Program RETURN
Message
 
 
To
05/08/2008 15:49:26
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01336666
Message ID:
01336669
Views:
27
>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()
>
Strange. Try to add a messagebox just before return command in your prg for debugging purpose and you may also try to use some local variable first to assign the return value.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform