• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Case sensitive

 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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()?
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It does matter if you have given the user the option of entering the airport code themselves.
Swapan.
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
reply
    Bookmark Topic Watch Topic
  • New Topic