Name

CFOUTPUT

Synopsis

<CFOUTPUT>
HTML and CFML
</CFOUTPUT>

Displays the results of a query or other ColdFusion operation.

Attributes

QUERY=" query_name "

The name of the query from which to pull the data to be output. Optional.

GROUP=" parameter "

The parameter that should group data. Grouping data results in the elimination of duplicate output. Optional.

GROUPCASESENSITIVE="Yes|No"

Whether or not grouping should be case-insensitive or case-insensitive. Optional. The default is Yes. This attribute works only if the record set has already been grouped appropriately. CFOUTPUT can’t reorder or resort the record set on its own.

STARTROW=" row_number "

The query row to begin outputting from. Optional.

MAXROWS=" integer "

The maximum number of rows to output. Optional.

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.