You will just have to treat me as a complete idiot (no programming
background) - but how do I bound my list?

_____________________
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


-----Original Message-----
From: Stephen Garrett [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2000 5:13 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Deleting Multiple Records?



Just make sure that the list is bounded, so that some happy hacker doesn't
cause a delete of every record in your db...

Steve

At 08:59 AM 4/12/2000 -0400, [EMAIL PROTECTED] wrote:
>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.
>

--
Stephen Garrett
GPS
[EMAIL PROTECTED]           (360) 896-2714
ICQ# 10776767
----------------------------------------------------------------------------
--
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.

Reply via email to