it's just like any other query. If you have: users = userObj.getUsers();
which returns a query. Then you can just <cfoutput query="users"> or users.recordcount or users.userID or whatever... --Ferg Oleg Gunkin wrote: >Some functions can return a query. The question is how to use the returned >query later usinf cfoutput or cfloop? > >For example: > ><cffunction name="getusers"> > <cfquery name="result"> > select * from users > </cfquery> > > <cfreturn result> ></cffunction> > >How do I properly recieve and work with that query? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229887 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

