You need to qualify your CFOUTPUT with a query attribute to get it to loop over the query object.
Try this... <cfquery name="attendeeupdate" datasource="#DSN#"> SELECT id from attendee WHERE assigneddate = 22 </cfquery> <cfoutput query="attendeeupdate"> #id# <br /> </cfoutput> HTH, Jeff Garza ----- Original Message ----- From: "Jillian Carroll" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 3:17 PM 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

