Another idea :-)
Puty the recordsource table in RecNo() just in case it didn't get the right alias:
.grdGrid1.SetAll( "DynamicBackColor", ;
[IIF( RECNO(]+.grdGrid1.RecordSource+[ ) = ] + ALLTRIM( STR( lnTableNum)) +;
[, RGB(255,255,255), RGB(0,255,0))], ;
"Column")
.grdGrid1.Refresh()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.