a simple away is to just name all the check boxes the same and make the value the record ID. When you select multiple boxes the data will pass as comma delimited. So the delete statement that is ran when the form is posted would look similar to "delete from table where Recorded in (#chkDeleteIDs#)" or something. Or you could split the list to an array and loop it sending a delete statement for each record. Did you need a complete solution or just an idea where to start?
David -----Original Message----- From: Ken [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 3:22 PM To: CF-Talk Subject: Using checkboxes and looping hi. I need to let the user select checkboxes on a page, and when they click the "Delete" button, it should delete those records and return to the same page. A lot like deleting items from a shopping cart. Please help. - Ken. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186917 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

