>>Terry,
>>
>>The quotes are wrong, it should be:
>>
>>thisForm.grdbook.SetAll( "DynamicFontName", [IIF( MyTable.LangCode = "E", "Arial", "Bharati")], "Column")
>>
>>>thisForm.grdbook.SetAll( "DynamicFontName", "IIF( MyTable.LangCode = "E", "Arial", "Bharati"), "Column")
>
>Hugo
>
>Would they still be wrong if I hadn't accidentally removed the close-quotes:
>
>thisForm.grdbook.SetAll( "DynamicFontName", "IIF( MyTable.LangCode = "E", "Arial", "Bharati")
", "Column")
>
>MAybe not need anything?
>
>thisForm.grdbook.SetAll( "DynamicFontName", IIF( MyTable.LangCode = "E", "Arial", "Bharati"), "Column")
>
>Cheers
Yes it would still be wrong because of the use of the double quote in your internal constants. You need to use the different style quotation marks, either the single quote (') or the square brackets ([,]).