nm I got it. Tim Heald ACP/CCFD Application Development www.schoollink.net
-----Original Message----- From: Tim Heald [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:39 AM To: CF-Talk Subject: XML Questrion Hey folks I am trying to build a query object from a record set using CFMX. I was wondering if maybe someone could tell me why this would through an error, I have been in and out of all the stuff I can find in the MX docs and on the forums and can't seem to see what I am doing wrong. Any help would be much appreciated. Here's the code: 16 : for(i = 1; i lt arrayLen(resources); i = i + 1){ 17 : QueryAddRow(mmResource, numItems); 18 : QuerySetCell(mmResource, "type", myXML.macromedia_resources.resource.[i].xmlattributes.type ,i); 19 : QuerySetCell(mmResource, "author", myXML.macromedia_resources.resource[i].author ,i); 20 : } And here's the error: Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with "QuerySetCell", on line 18, column 25.This message is usually caused by a problem in the expressions structure. a script statement beginning with "QuerySetCell" on line 18, column 25. a script statement beginning with "{" on line 16, column 64. a script statement beginning with "for" on line 16, column 17. a CFSCRIPT tag beginning on line 10, column 10. Tim Heald ACP/CCFD Application Development www.schoollink.net ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

