• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
josine wilms
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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
 
Oricio Ocle
Ranch Hand
Posts: 284
Debian Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have doing same by providing "Find All" button..
 
Oricio Ocle
Ranch Hand
Posts: 284
Debian Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic