>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.
POST the 3 output
? type( THIS.CheckSource )
? vartype(poText)
try
cContents = EVALUATE(THIS.CheckSource)
catch
? message()
endtry