>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.
Try to debug why this happens:
SET ASSERT ON
cSource = THIS.CheckSource
TRY
cContents = EVALUATE(cSource)
CATCH
ASSERT .f.
ENDTRY
And check if poText is avalible.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.