>How can I make a search on a table field non case-sensitive?
>
>Thanks
>Kev
Kevin, try to apply UPPER() or LOWER() functions
For example:
my_search_string = UPPER("SoMeThInG")
LOCATE FOR UPPER(myfield) = my_search_string
To speed things up have an index on UPPER(myfield)
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison