Skip navigation
Currently Being Moderated

pass url parameter to cfreport

Apr 13, 2011 9:05 AM

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

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points