name the fields dynamically. then when you loop over the results to insert
them use Evaluate() to get the values of the dynamically created variable
names.

-----Original Message-----
From: Les Irvin [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 9:35 PM
To: CF-Talk
Subject: Looping over form data?


I need to pull a number of records at once from a database, edit them on
one page, then send the data back to the database.  Looping over the query,
I've been able to place the data correctly on the page.

However, I'm at a loss as to how to update the edited records back into the
database.  I'm currently trying to post them as form data but it fails
because each record's input fields have the same name.

Is there a way to loop over form data or to dynamically rename form fields?
And/or is there a better way to edit multiple records at once than by using
a form?

Thanks for any help,
Les
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to