FOR EACH lo_col IN to_grd.Columns lo_col.DynamicBackColor = "_screen.ActiveForm.o_dataqc_engine.qn_format_cell_backcolor('" + lo_col.ControlSource + "', c_row_pk)" ENDFORMy qn_format_cell_backcolor routine now has not only a reference to the column and row, but also valuable information in the control source of the column. This will do NICELY!!