Jillian: 

For a query-driven output, you need to specify the query name within the 
cfoutput tag. 

<cfoutput query="attendeeupdate">
#id#<br />
</cfoutput> 

hth,
Charlie 


Jillian Carroll writes: 

> 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