Note that this only works when the form method is POST.  I learned that 
the hard way.  :-)

--Ben

Charlie Griefer wrote:
> give the checkboxes the same names, but different values (preferrably
> key values).
> 
> this will create a comma-delimited list of keys on the action page, so
> you can just do:
> 
> DELETE from tablename WHERE myPK IN (#form.myCheckboxName#)
> 
> 
> On Thu, 9 Dec 2004 15:22:28 -0500, Ken <[EMAIL PROTECTED]> wrote:
> 
>>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 Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186906
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

Reply via email to