Hmm... Does that say that "File" is a keyword and you cant use it as a variable in CFMX Java Architecture... Most likely so.
Joe -----Original Message----- From: James Sleeman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 2:59 AM To: CF-Talk Subject: Re: CFMX bug ?? ----- Original Message ----- From: "James Sleeman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 6:34 PM Subject: CFMX bug ?? > <CFLOOP LIST="#ValueList(Q_Changers.Name)#" INDEX="file"> > <CFFILE ACTION="COPY" SOURCE="#REQUEST.RootPath##file#" > DESTINATION="#REQUEST.MirrorDir#\#file#" > > </CFLOOP> > > fails with... > > Complex object types cannot be converted to simple values. > Replying to myself... I have narrowed it down somewhat, it seems that there is something funky about calling a variable "file" (not case sensitive), no matter what I set "file" to (either there as the loop index, or manually as <CFSET File = "heyNonnyNonny">) it always remains an empty struct (at least thats what CFDUMP tells me it is). So i renamed the variable file to xfile and this section of code works now. But after waiting around for aaaaaages while it compiled code, lo and behold a very similar error occurs here... Complex object types cannot be converted to simple values. The Error Occurred in J:\InnovativeMedia\StaffAdmin\qry_husk.cfm: line 71 Called from J:\InnovativeMedia\StaffAdmin\dsp_husk.cfm: line 6 Called from J:\InnovativeMedia\StaffAdmin\index.cfm: line 126 69 : <CFOUTPUT> 70 : <tr> 71 : <td nowrap ID="#menuName##menuX#" STYLE="#Insert#"><a href="#URL#" class="OLmenuLink" onMouseOver="highlightMenuItem('#menuName##menuX#')" onMouseOut="unhighlightMenuItem('#menuName##menuX#')">#Name#</a></td> 72 : <CFSET Insert=""> 73 : </tr> here I'm guessing it's either #Insert#, #URL# or #Name# that is the problem. How many of these am I going to find around the place ?!?!?!?!?! --- James Sleeman --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.373 / Virus Database: 208 - Release Date: 7/2/2002 ______________________________________________________________________ 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 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

