**Try this in afterrowcolchange event of the grid LPARAMETERS nColIndex Thisform.nRecNo = RECNO( This.RecordSource ) This.SetAll( 'DynamicForeColor', ; 'IIF( RECNO( This.RecordSource ) = Thisform.nRecNo, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' ) This.SetAll( 'DynamicBackColor', ; 'IIF( RECNO( This.RecordSource ) = Thisform.nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' ) ThisForm.Refresh()HTH