thisform.nCurRec=recno(this.recordsource) this.SetAll("dynamicbackcolor",; "iif(recno() = thisform.nCurRec, ; iif(dele(),RGB(192,192,128),this.rowHighlightColor), ; iif(dele(),RGB(197,165,173),RGB(255,255,255)))", ; "Column")When a form with a grid based on this class is active for a long time, it becomes apparent that RAM is being progressively consumed until it exhausts the physical RAM and starts disk swapping. I checked this by adding a textbox that displays the value of sys(1016) as the grid is refreshed, and watched the unused physical memory in the Windows System Monitor.