AnsweredAssumed Answered

HELP ON VALUELIST SCRIPT!

Question asked by RobertA on Feb 15, 2012
Latest reply on Feb 15, 2012 by RobertA

Title

HELP ON VALUELIST SCRIPT!

Post

Hey Guys!

I have another question for the forum!

I am atempting to ease the identification process within my database to "redflag" certain chemicals by name that are on a list certified for trash disposal.  I curently have all of the names that are allowed in the trash as a value list called "DRAIN/TOSS".  what i am atempting to acheive is, everytime a user enters a chemical that is on this list, it turns the chemical name in that specific field blue. 

here is what i have thus far...

If [Waste tags::Chem1Name = ValueLISTItems (Get ( FileName ) ; "DRAIN/TOSS")]

    Set Field [Waste tags::Chem1Name; TextColor ( Waste tags::CHem1Name ; RGB (0 ; 0 ; 255 ) )]

end if

thanks for the help guys!

Outcomes