• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Case sensitive

 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm revisiting some of my code. Should we concern ourselves with case sensitivity issue when it comes to criteriaFind()?
 
Swapan Golla
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does matter if you have given the user the option of entering the airport code themselves.
Swapan.
 
Rudy Yeung
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adrian,
To make it looks fancy, you can auto set it to upper case in the document class for the JTextField. This is just my 2cents thoughts.
Rudy
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was planning to display CARRIER, ORIGIN and DESTINATION values from db into JcomboBoxes for Search. In this case user can select the values but can not edit/enter new value. Is my logic okay ?
Thanks
Dilip
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you guys misunderstood me. For example, in my database, one value is SpeedyAir, I want to allow user the option of typing in the query string himself.
Let's say he type in 'speedyair', should cases like this results in not finding a record, since the cases don't match?
Of course, if anyone implements the search by creating drop down menu, so users can on select certain values, this situation will never happened.
Any ideas?
 
Randy Valadez
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using comboboxes for the search criteria origin destination and number of seats. I will also have a "any" string in my combo box to demonstrate my wild card feature...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic