|
Spooky -> RE: Using Check boxes to do multiple deletes (10/23/2001 14:56:00)
|
What youll do, is have a group of check boxes. Each with the same name. eg "DeleteID" Each checkbox needs to have a value = to the ID of the record. When you perform a delete, you post to your delete page and do a :"...where ColumnID IN (::DeleteID::)" What happens, is a comma delimited array is formed containing the ID numbers. eg : 1,6,12,14 So your SQL string would actually look like : "...where ColumnID IN (1,6,12,14)"
|
|
|
|