Name

QueryAddRow

Synopsis

                  
                  QueryAddRow(query [, number])

Adds number empty rows to query. If number is omitted, a single blank row is added. Here’s an example that creates a blank query and adds three empty rows to it:

<cfset Products = QueryNew("ProductName, Color, Price, Qty")>
<cfset NewRows = QueryAddRow(Products, 3)>
   
<cfoutput>
There are now #NewRows# rows in the query named Products.
</cfoutput>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.