I guess you exceeded 255 character limit on string literal
Try
TEXT TO lcForeColor NOSHOW PRETEXT 15
IIF(tReorder.Quan_ship = 0, RGB(255,255,255),
IIF(tReorder.Quan_ship < tReorder.Quan_Onord, RGB(0,0,0),
IIF(tReorder.Quan_ship = tReorder.Quan_Onord, RGB(0,0,0),
IIF(tReorder.Quan_ship > tReorder.Quan_Onord, RGB(0,0,0), RGB(0,0,0)))))
ENDTEXT
>
>Question.
>
>I was trying to change the code in the snippet below... for a method called m_getgridbackground
>
>The original code is commented out... and the changed code is below that.
>
>The change I made was to change the reorder table name to tReorder.
>
>When I do this, and try to go to another method, Foxpro throws up an error...
>
>"COMPILE Command contains unrecognized phrase/keyword"...
>
>What the????
>
<snip>
--sb--