Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change table name - get a Compile error... say what?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01515696
Message ID:
01515706
Views:
84
This message has been marked as the solution to the initial question of the thread.
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform