Answered
I'm trying to figure out how to divide a field "LBS_01" by 6.7. And if =0 then text color is white. I found some script and put it together and go figure... it doesn't work. I keep getting syntax errors also. Does anyone have time to help me out or at least face me in the correct direction?
var a = this.getField("LBS_06");
var b = 6.7;
event.value = b / a.value;
event.value = . . . ;
if(event.value < 0)
event.target.textColor = ["G", 1];//Change text to white
else
event.target.textColor = ["G", 0];//Change text to black
George