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:
01515708
Views:
41
I probably did.... while this was posting, I went in the string and pulled the line together into one LONG line (removing the ';'s)
and it did ok.

Guess it WAS more than 255 long with all the extra spacing at the beginning and end.....

Thanks!

>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>
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform