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# total rows in the query named Products.
</CFOUTPUT>

Get Programming ColdFusion 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.