Does anyone know of a way to make a textbox not case sensitive?
Jules
Answers3
HP
HP2009-09-16
Can you provide more context? How are you using the textbox where case-sensitivity is important?
JD
JD2009-09-16
I've made a search engine type thing for a database. Input the ID# which consists of letters and numbers... ei: 000A-0720. I'd like to be able to put 000a-0720 as well and come out with the same thing. Eventually, I'd like to be able to just put in 000a0720 and still get the same thing, but as of right now I have to have people type it exactly as it's entered '000A-0720'.
JB
JB2009-09-16
Hello,
You can try to use the function ToUpper to have your property in all uppercase letters. You can use it before looking in your database. The paramters will be global property. So you can have a component to uppercase it: @Text := ToUpper(@Text);
For the dash insertion you can look at the StrInsert function.
You can try to use the function ToUpper to have your property in all uppercase letters.
You can use it before looking in your database. The paramters will be global property. So you can have a component to uppercase it: @Text := ToUpper(@Text);
For the dash insertion you can look at the StrInsert function.
Cheers,
Jérémy