• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beta Search Criteria:

 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you guys think that passing in criteria[]and searching for any record that has any field that matches any criteria is enough for the exam?
Or should we make sure that the criteria[n] is only compared to the nth field in the record before the record is considered to be a match?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think criteria[n] should only be pertinent to field n.
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree Valentin,
But I have seen some posts were people were comparing any field to any search criteria. Or maybe I just misunderstood what they were talking about. I plan to use the criteria[n] to field[n] method. If anyone has done it the any field and any criteria way, Feel free to comment.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my opinion, it is not a smart idea to compare any criteria to any field. I think if this was wanted, we would not have to handle with an array of String :roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic