Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can 'A'='a' be true?
Message
From
16/01/2001 01:02:33
 
 
To
15/01/2001 23:28:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00463931
Message ID:
00464084
Views:
18
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform