• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Search Criteria

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I'm not entirely sure how to interpret the following line from the specs:

"It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user."

The phrase "and/or" is puzzling me. If the use enters both a name and a location, am I supposed to fetch all records that match both or either one? Or am I supposed to provide the option to let user choose which relation?

Can someone kindly advise on this?

Thanks
Kang
 
Kang Wang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Sorry. I just searched this forum and found two old posts that discuss this issue in great depth.

In case anyone else is wondering the same thing, check out:
post1
and
post2
 
reply
    Bookmark Topic Watch Topic
  • New Topic