Print Page | Close Window

Print Datetime Parameter Range under header sectio

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
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=1626
Printed Date: 27 Apr 2024 at 2:33am


Topic: Print Datetime Parameter Range under header sectio
Posted By: lsalih
Subject: Print Datetime Parameter Range under header sectio
Date Posted: 05 Nov 2007 at 10:24am
Greetings -
 
I have created a parameter field in my report, this parameter field is a date time RANGE value. In the report expert, I used the parameter so I make record selection based on the value range the user enters.
 
The user wants to have the parameter field displays on the page header so he knows the date range for when he ran the report.
 
When I drage the parm field to the report header and click on preview, the parm field does not display the date range which I entered when I ran the report! It shows the field parm as text, just its name shows!!!
 
Can you please tell me how to make it to print on the page header?
 
Thanks.
Lava



Replies:
Posted By: BrianBischof
Date Posted: 06 Nov 2007 at 9:02am
Hi Lava,

For range parameters, you need to create two formulas where each formula prints the lower or upper value. For the lower bounds, use the Minimum() function and for the upper value use the Maximum() function.

In my CR Encyclopedia book, on page 191 I give the code for printing  the value(s) of every type of parameter on your report.




-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: lsalih
Date Posted: 06 Nov 2007 at 10:11am
Thank you Brain for the reply. I am waiting on approval to go ahead and buy your book :(
 
Lava


Posted By: BrianBischof
Date Posted: 06 Nov 2007 at 10:37am
Cool. Hopefully they'll let you get it. Half the questions I see on this forum are already answered in the book. It's the cheapest tech support around.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: lsalih
Date Posted: 08 Nov 2007 at 8:00am
Brain - Once again, THANK you so much for the reply, it worked successfully.
 
Now I am obligated to buy your book, I am going to remind my manager :)
 
Regards,
Lava



Print Page | Close Window