Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all articles
Browse latest Browse all 38309

pass url parameter to cfreport

$
0
0

I am using CF9 and have generated a report using CF Report Builder that has a report parameter that function correctly.

I am trying to be able to get the variable value from the the address line and then display the cooresponding report page.

 

I have set a default value in report builder and written a simple viewing cfm. 

 

<cfreport template="NC_ImpactReport.cfr" format="pdf">

<cfreportparam name= "CFVarProjectID" value=55>

</cfreport>

 

When I run this I get the report returned correctly for record '55'

http://website/nc_impactreport.cfm

 

Another program will have the hyperlink (http://website/nc_impactreport.cfm) with the selected record id(ie55) all on one line.

 

How do I get the variable value from the address line into the cfm correctly to pass it into the report?

 

Thanks,

Kurt


Viewing all articles
Browse latest Browse all 38309

Trending Articles