Um, you forgot to specify a query in your cfoutput. :-)

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy 
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com

-----Original Message-----
From: Jillian Carroll [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 5:17 PM
To: CF-Talk
Subject: Query Not Cooperating

I've broken down my queries into the simplest of forms... and it's not
working.  It should return 3 values and only returns 1.  I'm posting
this because I'm hoping that I am missing something completely obvious
that I'll smack my head about.  
 
My database is in Postgres.
 
My query at the command line works:
 
select id from attendee where assigneddate=22;
 
This returns: 50 52 51
 
*** *** ***
 
My query in CF does not work:
 
<cfquery name="attendeeupdate" datasource="#DSN#">
SELECT id from attendee WHERE assigneddate = 22
</cfquery>
 
<cfoutput>
#id# <br />
</cfoutput>
 
This returns: 50
 
--
Jillian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to