O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Collecting Data for More Than One INSERT

Here’s another situation where <cfinsert> formfields can be used: when a form collects data that needs to be added to more than one table. You can create a template that has two or more <cfinsert> statements by using formfields.

As long as each <cfinsert> statement has a formfields attribute that specifies which fields are to be used with each INSERT, ColdFusion correctly executes each <cfinsert> with its appropriate fields.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required