Try the following as your where clause:
WHERE trim(Circuit) = '#trim(url.CircuitName)#'
*********** REPLY SEPARATOR ***********
On 4/23/2001 at 9:31 AM Jay Patton wrote:
|Why would this only select one record from the db?(there are about 12 it
|should return but it only returns one (which is the first one)
|
|<cfquery name="getRodeos"
| datasource="#datasource#"
| dbtype="ODBC"
| username="#username#"
| password="#password#">
|SELECT *
|FROM RodeoManager
|WHERE Circuit = '#url.CircuitName#'
|</cfquery>
|
|
|Thanks,
|
|Jay Patton
|Web Design / Application Design
|Web Pro USA
|p. 406.549.3337 ext. 203
|p. 1.888.5WEBPRO ext. 203
|e. [EMAIL PROTECTED]
|url. www.webpro-usa.com
|
| |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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