This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S FindByCriteria

 
Kevin Urcioo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question about the findByCriteria method. The method takes an array of String objects and returns an array of longs. Does input array of Strings size have to equal the number of fields in a record, so field two is matched to the second String in the input array. Or is it that every value in the input array is compared to all of the fields in a record? It is not clear from the method description.
Thanks.
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kevin,
Welcome to this forum.
Each criteria array element index matches the corresponding field number, any null element meaning "any" for the corresponding field.
Best,
Phil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic