User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 361,924 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,705 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser:
Views: 690 | Replies: 0
Reply
Join Date: Jan 2008
Posts: 2
Reputation: tcv56 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tcv56 tcv56 is offline Offline
Newbie Poster

Question extract values out of arraytolist

  #1  
Jan 10th, 2008
Hi all,

Since i did not get any response from my previous question (posted few days ago) , let me ask you all another question and hopefully (if I get some answers) this would help the other.

I passed a list of some calculated variables from my cf template to rpt builder using ArrayToList and I have no problem here. How do I extract those values off the list in rpt builder?

mytemplate.cfm
<cfset temp = ArraySet(testarray,1,3,"")>
<cfset testarray[1] ="11">
<cfset testarray[2] ="13">
<cfset testarray[3] ="31">
<cfset abc = ArrayToList(testArray)>
..............................
<cfform name="report" action="../index.cfm?template=report" method="post">
<cfinput type="submit" name="Report" value="get rpt">
<cfoutput>
<cfinput TYPE="hidden" VALUE="#abc#" NAME="array">
</cfoutput>


report.cfm
<cfreport template="myrpt.cfr" format="pdf" overwrite="yes" >
<cfreportparam name="c1" value="#array#">

myrpt.cfr

importparam

c1


the rpt I want to do is something like this

c1 c2 c3
15 32 59
..............

............
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ColdFusion Marketplace
Thread Tools Display Modes

Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 10:35 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC