Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid Expression?
Message
De
17/05/2001 14:05:12
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00508032
Message ID:
00508442
Vues:
28
>What makes this an invalid expression?
>
>This.SetAll('DynamicBackColor', 'IIF(checknum = 0, RGB(255,0,0), IIF(amount > 500, RGB(255,0,255), RGB(255,255,255)))', 'column')
>
>How should I set the backcolor to two colors based on two different conditions?

PMFJI, but I copied the code from your question and pasted it into a test grid and it worked fine. Something else must be causing the Invalid Expression error.
David.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform