ADVANCED USERS ONLY!
When entering data in Monthly Data Entry, the background color is set if the value entered is an Entry Range Violation, Daily Limit Violation, or both. The default colors are:
In certain cases, you may want to set different colors. NOTE: The defaults are STRONGLY RECOMMENDED and should only be changed if there is a display issue. You must update the ENTRYVIOLBACKCOLOR, DAILYVIOLBACKCOLOR, and ENTRYANDDAILYVIOLBACKCOLOR Settings in the OPSROOT.GENERALSETTINGS Table. Use the CUSTOMSQLROOT Action Script to execute the following statements.
Example set the Daily Violation backcolor to Yellow:
UPDATE GENERALSETTINGS SET CURVALUE = '65535' WHERE KEYVALUE= 'DAILYVIOLBACKCOLOR'
Where '16776960' is the Color Value. Color value can be calculated with the following formula using the RGB components of a color.
R + G * 256 + B * 256 * 256
Example Yellow is R=255,B=255,G=0, therefore Yellow = 65535.
To reset to defaults:
UPDATE GENERALSETTINGS SET CURVALUE = '13500362' WHERE KEYVALUE= 'ENTRYVIOLBACKCOLOR'
UPDATE GENERALSETTINGS SET CURVALUE = '13303806' WHERE KEYVALUE= 'DAILYVIOLBACKCOLOR'
UPDATE GENERALSETTINGS SET CURVALUE = '9486586' WHERE KEYVALUE= 'ENTRYANDDAILYVIOLBACKCOLOR'