***Grid.Init event local cLine this.parent.grContRecno=-1 this.recordsource="tmpFrmCmgrL1" this.colCalldate.controlsource="tmpFrmCmgrL1.calldate" this.colUsername.controlsource="tmpFrmCmgrL1.username" this.colCstatus.controlsource="tmpFrmCmgrL1.cstatus" cLine="IIF(thisform.cntCmgr.grContRecno=recno('tmpFrmCmgrL1'),65535,16777215)" this.setall("Dynamicbackcolor",cLine,"column") ***Grid.BeforeColumnChange event IF used("tmpFrmCmgrL1") this.parent.grContRecno=recno("tmpFrmCmgrL1") ENDIF ***Grid.AfterRowColumnChange event IF this.parent.grContRecno=recno("tmpFrmCmgrL1") RETURN ENDIF this.parent.grContRecno=recno("tmpFrmCmgrL1") this.refresh