Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Help for .SetAll in a grid
Hi all...
I understand the use of .SetAll in a grid in the event that I need to change the color of a column based on a condition for example I put in Form.Init:
ThisForm.libro1.Page1.Highlighted1.SetAll("DynamicForeColor",;
"IIF(DVALE.Actividad <> '900207', RGB(0,0,0), RGB(0,183,0))", "Column") &&900207 verde
I have A Grid With several columns one is DVALE.Actividad and other is DVALE.Valort. I need to turn green the lines that DVALE.Actividad ="900207" and it works fine. But aditionally I want to change that lines to red if DVALE.Valort < 0 so I put this aditional instruction in the form.Init:
ThisForm.libro1.Page1.Highlighted1.SetAll("DynamicForeColor",;
"IIF(DVALE.Valort >= 0, RGB(0,0,0), RGB(255,0,0))", "Column") &&Valor < = rojo
This way doesn´t work.
Any advice ?
Thanks
Juan Uribe
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement