Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spellbound - EVAL() in VFP6 needs to be macroed in VFP9?!?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Spellbound - EVAL() in VFP6 needs to be macroed in VFP9?!?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155368
Message ID:
01155368
Views:
112
Hi all

Maybe I am wrong on this but the following line in Spellbound class raises an error in VFP9 during EVAL(). I am not sure as this class is used infrequently by a client in the VFP6 version of my app but I believe it is still working on his end.
cSource   = THIS.CheckSource
cContents = EVALUATE(cSource)
THIS.CheckSource = "poText.VALUE", poText is a PRIVATE object available in DoCheck() of the class SpellBound. In VFP9 I constantly got the error:
Error #:    152
Message:    Missing expression.
Line #:     21
Code:       cContents = EVALUATE(cSource)
Method:     docheck
Object:     afrmdetpackinglist1.pgf.txtCbk
Now as soon as I changed the line to cContents = &cSource. all is working well.

Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform