Works like a charm! Thanks for the quick reply.
Cipollini in the Tour this year?
>
>In the first column of a grid i have a CommandButton. For each row in the grid, I would like to either:
>
>1) set the picture clause to the image if a dollar amt present or leave blank
>
>OR
>
>2) set the column1 CurrentControl value to a textbox (instead of the commandbutton) if no dollar amt.
>
>But i cant get the syntax right. Can grid's do this on a row by row basis?
>
>Something like:
>
>.column1.CmdDollar.picture = 'IIF( v_jobtasks.expinv > 0,"DOLLAR.BMP","" )'
>>
>
>.column1.sparse = .F.
>* .column1.bound = .F. this is a best choice
>.column1.CmdDollar.picture = "DOLLAR.BMP"
>.column1.dynamiccurrentControl = 'IIF( v_jobtasks.expinv > 0,"commandName","textboxName" )'
>
>
>Fabio