Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu
I have a loop within which I am trying to create a various variable. My code (below) is replying an error which I believe is due the my syntax being wrong. Please advise on how to construct such variable creation. Code: cfset filename#i# = #filename# Error: Invalid CFML construct found on

RE: Creating a dynamic variable to for storage

2009-04-22 Thread Adrian Lynch
cfset VARIABLES[filename#i#] = filename Give that a go. Adrian -Original Message- From: Fawzi Amadu [mailto:abd...@gmail.com] Sent: 22 April 2009 19:35 To: cf-talk Subject: Creating a dynamic variable to for storage I have a loop within which I am trying to create a various

Re: Creating a dynamic variable to for storage

2009-04-22 Thread Ben Nadel
Wrap the whole variable name in quotes: cfset filename#i# = #filename# -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: cfadmin api scripting

2009-04-22 Thread Raymond Camden
I think the best you may get for API info would be the CFCs themselves. If you view them in your browser you will see docs. On Mon, Apr 20, 2009 at 2:00 PM, Maureen Barger m...@cornell.edu wrote: Hi - I am looking for info on using the cfadmin api to copy sandbox security from instance to

Could not instantiate stub objects

2009-04-22 Thread Kevin Cundick
Hi All, I am having some trouble trying to call a web service that is currently setup in the ColdFusion administrator. I get the following exception each time I try... Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub objects for web service invocation.The rootcause was

Re: Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu
Thanks, Ben and Adrian that solved my problem. Wrap the whole variable name in quotes: cfset filename#i# = #filename# -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help?