MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 456

Developing coldfusion mx applications
Table of Contents

Advertisement

<!--- output the detail query results --->
<p>Output using a query of query:</p>
<cfoutput query=detail>
#Emp_ID#: #FirstName# #LastName#<br>
</cfoutput>
<br>
<p>Columns in the master query:</p>
<cfoutput>
#master.columnlist#<br>
</cfoutput>
<br>
<p>Columns in the detail query:</p>
<cfoutput>
#detail.columnlist#<br>
</cfoutput>
</body>
Save the page as query_of_query.cfm in the myapps directory under the web_root.
2
In your browser, enter the following URL to display the queryresults:
3
http://127.0.0.1/myapps/query_of_query.cfm
The following figure shows how the output appears:
456
Chapter 22: Using Query of Queries

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents