Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Fonts in Grid
Message
From
09/02/2006 16:28:45
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01094951
Message ID:
01095263
Views:
13
>>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 ([,]).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform