list  

[DFW CFUG] cfquery argumentscollection not working?

Sophek Tounn
Fri, 19 Oct 2007 15:14:56 -0700

Hi Guys,

I'm running CF 8 on my localhost, when I run this code:

<cfset args=structnew()>
 <cfset args.datasource="foo">
 <cfset args.name = "foo">

    <cfquery argumentscollection="#args#">
        Select RoomID,RoomName,RoomPrice From Room
            ORDER BY ROOMID DESC
</cfquery>

I get this:


The tag does not allow the attribute(s) ARGUMENTSCOLLECTION. The valid
attribute(s) are
BLOCKFACTOR,CACHEDAFTER,CACHEDWITHIN,CONNECTSTRING,DATASOURCE,DBNAME,DBPOOL,DBSERVER,DBTYPE,DEBUG,MAXROWS,NAME,PASSWORD,PROVIDER,PROVIDERDSN,RESULT,SQL,TIMEOUT,USERNAME.

Anyone know why?
_______________________________________________
Reply to DFWCFUG: 
  List@list.dfwcfug.org
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.instantspot.com/
  www.teksystems.com/