Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Printing the Date Parameters Post Reply Post New Topic
Author Message
Minco
Groupie
Groupie
Avatar

Joined: 28 Nov 2012
Location: United States
Online Status: Offline
Posts: 62
Quote Minco Replybullet Topic: Printing the Date Parameters
    Posted: 22 May 2013 at 11:10am
I have a report of rebate information and it has a date paratmeter set up for the user to input the start and end date [includes date selected] ... 1/1/2013 to 3/31/2013.
 
When the report prints, I would like the date parameter from the user, to print in the header next to the report title.
 
Rebate Report        1/1/2013 thru 3/31/2013          [today's date]
 
How do I get the parameter to print? I'm sure it involves a text box with the field in it but I can't get it to work.... it just prints the name of the field.

Thanks much!
Minco
Be kind to those less fortunate.
IP IP Logged
Minco
Groupie
Groupie
Avatar

Joined: 28 Nov 2012
Location: United States
Online Status: Offline
Posts: 62
Quote Minco Replybullet Posted: 23 May 2013 at 9:05am

I solved my own question. I created a formula called PrintParam and used this formula:

Totext(Minimum ({?InvoiceDate}),"MM-dd-yyyy") +

" to " +

Totext(Maximum ({?InvoiceDate}),"MM-dd-yyyy")

 
I inserted the formula field in the page header where i wanted it, and it's been working beautifully!
Be kind to those less fortunate.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.