Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can 'A'='a' be true?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00463931
Message ID:
00463944
Vues:
14
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform