Hi All,
Just a Quick Question on the findByCriteria method.
It is defined as below:
// Returns an array of record numbers that match the specified
// criteria. Field n in the database file is described by
// criteria[n]. A null value in criteria[n] matches any field
// value. A non-null value in criteria[n] matches any field
// value that begins with criteria[n]. (For example, "Fred"
// matches "Fred" or "Freddy".)
public long[] findByCriteria(
String[] criteria);
if the criteria was [Smallville, 210]?
Should I return only row numbers that have columns with both *Smallville* and 210 in this?
I guess this means looping through each record and then on each record looping through each field?
Am I on the correct track with this please?
Many thanks in advance,
Sophie J