Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally Set Color of 1 field in Grid
Message
 
 
À
19/05/2011 17:04:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01510939
Message ID:
01511181
Vues:
64
>Thanks to Naomi, I got a bit farther in this pursuit. I am looking to turn some of the qtr_ord values 'RED' based on a simple criteria in each record.
>
>Will someone be nice enough to help with the right side of this equation? This code is in the INIT of my grid.
>
>
This.Column2.DynamicForColor = IIF(polines.isnew,255,0)
>
>Thanks, Randy

Try
This.Column2.DynamicForColor = 'IIF(polines.isnew,255,0)'
The expression must be in quotes if set in code.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform