Print Page | Close Window

Printing selected parameters in report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1245
Printed Date: 07 May 2024 at 12:36am


Topic: Printing selected parameters in report
Posted By: KMeyer
Subject: Printing selected parameters in report
Date Posted: 29 Aug 2007 at 3:08am
I have a report that prompts for a date range and a sales territory range using the default Crystal Reports parameter prompts in the ReportViewer.
 
The report works fine, but now I have been asked to print what parameters were selected at run time in the report header as a description, which seems like a reasonable request.
 
Inserting the record selection formula from "Special Fields" only shows a text representation of the formula with the parameters as {?SalesDate} {?Territory} for example.
 
Any guidence on how to trap what was selected at run time and print it would be appreciated.
 
Thanks for any input
 
Kim



Replies:
Posted By: jkwrpc
Date Posted: 29 Aug 2007 at 1:30pm
Have you tried creating  formulas and assigning the values of each of the parameters to a variable, then using the formulas on the report?
 
Regards,
 
John W.
http://www.CustomReportWriters.net - www.CustomReportWriters.net


Posted By: KMeyer
Date Posted: 29 Aug 2007 at 7:12pm
Thanks John,
No I have not, I will give it a try, I have two single parameter fields for both with the range option on in their properties.
I am not sure if I can read and assign the two selected range values for the one parameter field, but will investigate further.
 
 
Regards
Kim



Print Page | Close Window