Sorry,
it's very good!
Thank you
>I added your code in the grid.init - no change
>>See my updated message.
>>
>>>No property 'sparse' to grid - only to the grid column and the default is :sparse=.t.
>>>
>>>>
yourgrid.setall('sparse',.T.'column')
>>>>
>>>>>No error message, but no any changr in thr grid color.
>>>>>>>Hi
>>>>>>>Why do I get the expression invalid error message?
>>>>>>>
cgship=substr(othernr.shipmentid,3,3)
>>>>>>>
>>>>>>>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(alltrim(cgship)='G',rgb(255,0,0),RGB(255,255,255))]
>>>>>>
>>>>>>
>>>>>>because cgship is going out of scope. try:
>>>>>>
>>>>>>cgship=[ALLTRIM(substr(othernr.shipmentid,3,3))]
>>>>>>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(]+cgship+[='G',rgb(255,0,0),RGB(255,255,255))]
>>>>>>
Thank you
Chaim