• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!