Just four sequential CFQUERY tags, each with an INSERT statement. If you're using MSSQL, you could put all four statements in a single CFQUERY block (maybe other DBs too), but I wouldn't bother. You lose readability (IMHO) and portability, so it's not worth it.
cheers, barneyb On Tue, 15 Feb 2005 01:23:22 -0500, Roberto Perez <[EMAIL PROTECTED]> wrote: > At 08:21 PM 2/15/05, Barney Boisvert wrote: > > >Yes, you can only add data to a single table in a given INSERT query. > >UPDATE is a little different. > > Thanks for the confirmation. So, what would good code for a process like > that look like? Would all 4 inserts be within 1 pair of CFQUERY tags, or > would each insert have to have its own set of CFQUERY tags? Would a loop be > an option (though I'm not sure what syntax I'd use for that)? > > Thanks, > > > Roberto Perez > [EMAIL PROTECTED] -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194900 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

