Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can 'A'='a' be true?
Message
De
16/01/2001 01:02:33
 
 
À
15/01/2001 23:28:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00463931
Message ID:
00464084
Vues:
19
>>>I would like vfp5 to be case insensitive for certain comparison operations.
>>>Is this possible?
>>
>>You could SET COLLATE TO "General", but that could have other detrimental side effects.
>
>The effects can be limited to that one tag. In the indexing routine, Set Collate to "General" before creating that tag, and then Set Collate to "Machine" for the other tags. Worked like charm in 2.6, and I don't expect it to have changed since.

I suppose it should be OK as long as you remember to set it back to "Machine". I never realized that SET COLLATE effected memory variables, I always thought it was just indexes!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform