oi cfTalkers!!
I keep getting this error with the following code :
anybody have any clues what I am missing?
The end tag </cffunction> requires a matching start tag.
> <cfcomponent>
> <cffunction access="public" name="getUserWeekly" returntype="query"
>displayname="GetUserWeekly" hint="Gets the user weekly">
> <cfargument name="file" type="variableName" required="true" default=""
>displayname="strInputFile" hint="This is the incoming file to parse">
>
> <cfset ufile = querynew("iUser,iGroup,ibytes,itag")>
> <cfloop index="i" list="#arguments.file#"
>delimiters="#CHR(13)##CHR(10)#">
> <cfscript>
> i = replacenocase(i,"::",":0:","All");
> i = listToArray(i,":");
> queryaddRow(ufile);
> querySetCell(ufile,"iUser",i[1]);
> querySetCell(ufile,"iGroup",i[2]);
> querySetCell(ufile,"ibytes",i[3]);
> if(i[5] neq 0){
> querySetCell(ufile,"iTag",i[5]);
> }else{
> querySetCell(ufile,"iTag"," ");
> }
> </cfscript>
> </cfloop>
> <cfreturn ufile>
> </cffunction>
> </cfcomponent>
--
Best regards,
Critter, MMCP
Certified ColdFusion Developer
Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion">
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.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