Im trying to figure out a way to allow a user to select multipule check boxes and delete messages from a DB associated with the checkboxes.
see the previous thread and adapt using the SQL IN clause<BR><BR>"DELETE tblWhatever WHERE recordID IN (" & Request.Form("checkboxgroup") & ")"<BR><BR><BR>j
The link to the ASPFAQs is at the top right corner of this very page just to make it easy for you to find FAQs such as this one.<BR><BR>Look in the category noted above.<BR><BR>HINT: This one has been view almost 35,000 times.<BR><BR>
You didn't use RTFFAQs like you're supposed to!<BR><grin /><BR>
...if the keys to the records being deleted aren't numbers.<BR><BR>Nyah.<BR><BR>(Okay, okay, they probably are numbers. But I have to get pedantic now and then, don't I?)<BR><BR>
.. it's a reasonable assumption though...