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

Developing coldfusion mx applications
Table of Contents

Advertisement

The following code shows the
custom for tablular data):
<cfindex
query = "Calls"
collection = "training"
action = "UPDATE"
type = "CUSTOM"
title = "Short_Description"
key = "Call_ID"
body = "Problem_Description"
custom1 = "Product">
To perform the refined search for HomeSite+ problems with the word certain in the problem
description, the
cfsearch
<cfsearch
collection = "training"
name = "search_calls"
criteria = "certain and CF_CUSTOM1 <CONTAINS> HomeSite">
The following code displays the results of the refined search:
<table border="1" cellspacing="5">
<tr>
<th align="LEFT">KEY</th>
<th align="LEFT">TITLE</th>
<th align="LEFT">CUSTOM1</th>
</tr>
<cfoutput query = "search_calls">
<tr>
<td>#KEY#</td>
<td>#TITLE#</td>
<td>#CUSTOM1#</td>
</tr>
</cfoutput>
</table>
tag for indexing the collection (the
cfindex
tag uses the CONTAINS operator in its
criteria
Refining your searches with zones and fields
attribute is set to
type
attribute:
555

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents