home *** CD-ROM | disk | FTP | other *** search
- m and display it.
- </p>
-
- <!--- Loop over the query results using cfoutput --->
- <cfoutput query="TheItem">
- <p>
- #CategoryName#<br>
- <b>#ItemName#</b> - <i>#Teaser#</i><br>
- (Part #PartNum#)<br><br>
- Only #DollarFormat(ItemCost)#
- </p>
-
- <p>
- #ItemDescription#
- </p>
- </cfoutput>
-
- <br><br>
- <a href="index.cfm">search again</a>
- <br><br>
-
- </cfmodule><!---
- **
- * CFMX Example Applications
- *
- * Copyright (c) 2002 Macromedia. All Rights Reserved.
- *
- * YOUR RIGHTS WITH RESPECT TO THIS SOFTWARE IS GOVERNED BY THE
- * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
- *
- **
- --->
-
- <cfmodule template="../tags/layout.cfm" pageName="Data Drill-Down Example">
-
- <!---
- Use CFQUERY to get all of the store's categories.
- These will be used to populate the form's select box.
- --->
- <cfquery name="Categories" dataSource="#request.app.dsn#">
- select CategoryID, CategoryName
- from tblCategories
- order by CategoryName
- </cfquery>
-
- <p>
- In the Data Drill-Down example, a select box populated by items in the
- database is one of the options for users to select search criteria. The
- results page lists all matches and each one is a hyperlink to a detail
- page. If there are more than 5 results, a Prior/Next link is created to
- let the user page through the results.
- </p>
-
-
- <p>
- Search suggestions for example data:
-
- <ul>
- <li>For <i>Item Name</i> searches, try 'Rocket' or 'Ripper'.
- <li>Leave <i>Item Name</i> blank and