Thanks Javier, that was what I was looking for. I looked in properties but it was a DUH moment on this. BC
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Javier Valencia Sent: Friday, November 11, 2005 12:20 PM To: RBG7-L Mailing List Subject: [RBG7-L] - RE: [No Subject] Bob: If you are referring to variables or columns in forms, I use the following snippet to change the color of a variable to red when the inventory becomes negative, otherwise it is displayed as green: IF vpart_left < 0 THEN PROPERTY vci_part_left FONT_COLOR RED ELSE PROPERTY vci_part_left FONT_COLOR GREEN ENDIF Where vci_part_left is the Component ID of the variable; it works the same way for other components. Javier, Javier Valencia, PE President Valencia Technology Group, L.L.C. 14315 S. Twilight Ln, Suite #14 Olathe, Kansas 66062-4578 Office (913)829-0888 Fax (913)649-2904 Cell (913)915-3137 ================================================ Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all system and destroy all copies. ====================================================== -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Castanaro, Bob Sent: Friday, November 11, 2005 10:11 AM To: RBG7-L Mailing List Subject: [RBG7-L] - [No Subject] There was a routine posted here a while back about dynamically changing colors of a field based on the value, I suspect it has to be a variable. Is there a simple way to do this? I didn't find any articles in FTE. Thanks Bob C
