let's say the variable for the search name is search_name

to get the record count for it, use the evaluate function
#Evaluate(search_name & '.recordcount')#


teehee


>From: "Tracy Bost" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: using recordcount & key with dynamic name
>Date: Tue, 22 May 2001 12:04:20 -0500
>
>How do you get the recordcount & key from a verity search when the search 
>name is dynamically generated ?
>
>
><CFLOOP INDEX="ListElement"
>     LIST="#wholeArray#">
>   <cfsearch collection="#ListElement#" name="#ListElement#" 
>criteria="test">
>...............................................
>...............
>   </CFLOOP>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to