.DYNAMICBACKCOLOR = "IIF((NOT EMPTY(RECNO('" + THIS.RECORDSOURCE + "'))) AND (THIS." ; + .NAME + ".ENABLED AND (NOT THIS." + .NAME ; + ".READONLY)), goApp.nBackColorFld, " ; + "IIF(goApp.nOSVersion < 5.01, goApp.nBackColorForm, THIS.BACKCOLOR))"Now I need to add one more condition for columns that contain a class which range checks numeric values entered by the user and need a different color if the range check fails.