Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different Fonts in Grid
Message
De
09/02/2006 16:28:45
 
 
À
09/02/2006 12:20:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01094951
Message ID:
01095263
Vues:
10
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform