After a lot of help from this group and others I have successfully learned how to connect to an access database, write, update, and delete records. Thanks. But I still have questions. Please help below if you can.

1. I need to be able to search the records for a few different options and obviously display the results. The way I have it setup is a drop down box populated with 3 options for search criteria. I also have a text box which is where the user will input what they want to search for. Please help with the code necessary for this to work. Thank you.

Code:
<select name="search">
<option value="PhoneNumber">Phone Number"</option>
<option value="CustomerLastName">Customer's Last Name</option>
<opiton value="TicketNumber">Ticket Number</option>
</select>
...
<input type="text" name="criteria">
2. I also have been using checkboxes on one of my pages, but when I try to edit the entries the checkboxes always show empty.
Code:
<input type="checkbox" name="error" value="629">Error 629<br>
<input type="checkbox" name="error" value="691">Error 691<br>
Thank you for any help