yourgrid.setall('sparse',.T.'column')>No error message, but no any changr in thr grid color.
cgship=substr(othernr.shipmentid,3,3) >>> >>>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(alltrim(cgship)='G',rgb(255,0,0),RGB(255,255,255))]>>
>>cgship=[ALLTRIM(substr(othernr.shipmentid,3,3))] >>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(]+cgship+[='G',rgb(255,0,0),RGB(255,255,255))] >>