troubleshooting Question

Print Results After Post

Avatar of vasquezm
vasquezm asked on
ColdFusion Language
3 Comments1 Solution391 ViewsLast Modified:
I have a Coldfusion Search page that posts to itself, when complete cfgrid displays the results of the post based upon a bind to a CFC from the form scope.

Because of the Search criteria being used and the amount of data, I want to provide the user with the ability to print the results after they have verified that the information is correct.  

I have duplicated the form scope to the request scope after post.

The problem I am having is passing the form scope or request scope variables to another page for processing to a Coldfusion Report for printing.  The scoped variables do not remain.

The provide additional detail, I used a variable in the action page for the form, on the first submit it posts to itself.  After post the action page is another page print_results.cfm which I want to take the scoped variables, pass to a cfc using cfinvoke and then the results passed to a ColdFusion Report.

General code would help greatly as I need to understand how to retain and pass the scope.  not sure if or how the form scope needs to be sent to a cfc to retain to the new action page.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros