Thisform.nRecord = recno(This.RecordSource) This.SetAll('DynamicBackColor', '"rgb(255,255,255)"', 'Columns') This.Columns[nColIndex].DynamicBackColor = "iif(thisform.nRecord = recno(This.RecordSource), rgb(0,0,255), rgb(255,255,255))"You will probably need to tweak this a little.