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.