• 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

"It must allow the user to search the data for all records"

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good evening you all, don't yet.

The User Interface part states for the search functionality:

"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."

I'm fine with the second part (I have implemented that succesfully).

I don't know exactly what to do with the bold part.

I'm thinking about this example:
I do a free search on "hil".
Should any record come up where this query is to be seen as a "substring" in any piece of data for any field? EG Hilton, Chillcity, Hil.

How you guys have implemented this or am I trying to do too much work to implement this?

Cheers,
Josine
 
Ranch Hand
Posts: 284
Netbeans IDE Firefox Browser Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello josine.
I have interpreted it as: "return all records in the database".
Here is a snapshot of my search bean:


Regards
 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have doing same by providing "Find All" button..
 
Oricio Ocle
Ranch Hand
Posts: 284
Netbeans IDE Firefox Browser Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ey Ken mine is a never ending asignment too
 
josine wilms
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your answers. Probably that will be the right way to implement it. I shouldn't try to make an extra search option for the case of "any 'substring' in any field of any record" then.

I still think the sentence is awquard. Grrr.

I'm wondering how other people have interpreted this :roll:
Please people who have implemented the search part too, do have a response on this line.


Good luck to you!

Josine
[ September 24, 2006: Message edited by: josine wilms ]
 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hallo Guys,

Here are my choices :
1.I keep my search dialog clean - so I only use it for search. The purpose of the search widget is to define a search criteria.
2.I have a search all available - it does the same stuff like search but this
onyl for available records
3.I have some get all (available and unavailable) records trigders (menu and toolbar) and get all available (only the available records).

Regards M.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic