on form page:

<input type="checkbox" value="#recordid#" name="record">

on action page:

update tablename
where someid in (#form.record#)


-----Original Message-----
From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:10 AM
To: CF-Talk
Subject: Updating only records checked on output page


I have an output page that may have dozens or hundreds of records on it.
I want to put all the records into a single form with a checkbox by each
record so that a user can: edit any or all records on the page; click
the checkbox to identify the records modified; and submit the form to a
page that will loop through all the checked records and update them. I
think this is an easy thing but I have some kind of mental block
preventing me from figuring it out!

The output page is something like this:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to