Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can 'A'='a' be true?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00463931
Message ID:
00463944
Views:
13
Yes, you can use the UPPER() function in the index statement:
INDEX ON UPPER(chemical) TAG chemical
Then, use something like:
SET ORDER TO chemical IN msds
IF SEEK(UPPER(var), 'msds')
  ...Sucess
ENDIF
>Actually I'm more concerned about searching for a string
>in a field. My table may have a record of msds.chemical='Acetone'.
>My user searches for ACETONE and never finds it in the index.
>Is it best to have UPPER() in the index?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform