It's fairly simple to do... Just name all your checkboxes the same name.
When you submit the form it will put the values in a comma delimited list.
You can then just pass that straight to your SQL statement as is. It will
crunch through the list and delete all the records that were checked.
Mike Fleming
CF Codeslinger
"I spent my whole life not knowing what I want out of it, just chasing my
tail. Now for the first time I know exactly what I want and who... that's
the damnable misery of it." Tombstone
-----Original Message-----
From: David Crowther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 5:34 AM
To: '[EMAIL PROTECTED]'
Subject: Deleting Multiple Records?
<CF_newbie> I was just wondering if there was a way of deleting multiple
records at the same time?
In my admin section of a current project, I would like to provide the option
of selecting multiple records (by check box?) and then deleting all of the
selected records at one click of the submit button.
Is this possible, and if so, how do I do it?
Many thanks...
_____________________
d a v i d c r o w t h e r
w e b d e v e l o p e r
s i t d . c o m
t 0044 1753 865 731
f 0044 1753 865 785
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.