Give the checkboxes the same name:
<input type="checkbox" name="chkTest" value="1">
<input type="checkbox" name="chkTest" value="2">
<input type="checkbox" name="chkTest" value="3">
<input type="checkbox" name="chkTest" value="4">
Request.Form("chkTest") will then contain a comma-delimited list of values
(for the checkboxes that have been checked)
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <or@a...>
Subject: [asp_databases] Update Records w/ Checkboxes
: I have an update form that displays a list of records. I want to use a
: checkbox to update records that have been printed. When I execute the
: update I get an error because I am passing one record_id only. How can I
: pass multiple record_id's to be updated?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~