>>This is a Column property, not Grid property. You don't need quotes.
>>
>>Vlad
>>
>>>What is the correct syntax for dynamicCurrentControl, I tried
>>>
>>>="IIF(Condition,Text1,Text2)"
>>>
>>> but it don't works
>>>
>>>Where am i wrong ?
>>>
>>>Thanks for your help
>>>
>>>michel
>
>Thank's Paul. Ok for the quotes. But It don't Works ... Snif...
>
>When I try
>
>This.Column1.AddObject("oMyText","TextBox")
>This.Column1.DynamicCurrentControl=IIF(condition,Text1,oMyText)
>I got an error
>
>
Michael,
Try this;
THIS.Column1.DynamicCurrentControl = IIF(Condition, "Text1","MyText")