For the searching part specifications I've got are in two versions in the instruction and the DB interface.
The instruction said:"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."
The DB interface said in comment:"
//A non-null value in criteria[n] matches any field
// value that begins with criteria[n]. (For example, "Fred"
// matches "Fred" or "Freddy".)"
I guess I should follow the instruction, shouldn't I?