Hi,
I have a script that looks at the data table DLD and then populates the data table CK with several rows of Pass/Fail. What I'd like it to do is for pass have the cell background color be green with black font and for fail have red cell background with white font. The color cells command is working fine, but I've been unable to find a syntax for changing font color that works after trying several things.
Thanks in advance for any help
If(
And(
DLD:Current[1] >= DLD:LSL[1]
,
DLD:Current[1] <= DLD:USL[1]
)
,
CK:PF[1] = "Pass";
CK:PF << color cells(RGB Color( 0, 250, 0 ),{1});
,
CK:PF[1] = "Fail";
CK:PF << color cells(RGB Color( 250, 0, 0 ),{1});
CK:PF[1] << Format(Text Color("White"));
);