Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set the grid cell
Message
 
 
To
23/06/2005 12:26:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025757
Message ID:
01025913
Views:
14
>I did copy a paste to this line:
>
thisform.grd1.column2.DynamicBackColor='iif(field='xxx',RGB(255,64,64),RGB(255 ,255 ,255 ))'
>I got a message 'syntax error' on this line when I try to save the form.

You cannot use a single quote inside a literal that's enclosed into single quotes by itself. Use another string literal delimiter.
thisform.grd1.column2.DynamicBackColor = [iif(field='xxx',RGB(255,64,64),RGB(255 ,255 ,255 ))]
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform