The problem is, perhaps this table has 150 records - and I want to give the client a form to update only 3 specific fields in the entire table and they might *not* be sequential records. Maybe 2, 7 and 78.
Almost seems easier to use the "clunky" approach and just build three separate queries to do it, instead of setting a list of which records, then using the approach below. > What column(s) do you have in the query that you can use an a unique key for the > update? > > You just need to run through a simple loop, stashing each value away in turn. > Something along the lines of > > <cfloop index="i" from="1" to="3" step="1"> > <cfquery name="update" datasource="myDATABASE"> > UPDATE AOS_163 set price=#evaluate("form.Price"&i)# > where key=#ventkit['key'][i]# > </cfquery> > </cfloop> -- Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182404 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