yourgrid.setall('sparse',.T.'column')>
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))] >>>