Make sure that in the DB there are 12 for the exact length
and spelling of the URL.CircuitName

I had previous experience with the DB field containing
an extra space so the following are NOT the same:

URL.CircuitName = "CircuitOne"
DB.CircuitName= "CircuitOne " 



-----Original Message-----
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 11:32 AM
To: CF-Talk
Subject: statement help...


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

Reply via email to