Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF() Test.
Message
De
24/04/2000 11:26:15
 
 
À
24/04/2000 10:39:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00362743
Message ID:
00362769
Vues:
18
>I have a complex iif() line in the dynamicforecolour property from a grid.
>The iif() command is not working.
>But i do not recieve an error and i cant find the error in the line.
>How can i test where i make an error.
>Thanks.

Remove all embedded spaces from the expression.

FWIW, in situations where I have a complex set of criteria in a Dynamic.. property, I usually create a form method that returns a value, and set the dynamic property to the name of that method:

Grid.Column1.DynamicForeColor = "THISFORM.ChooseColor()"

That way, you can put as much logic as you want, and the expression is easier to debug.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform