Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing the dates from parameters 1

Status
Not open for further replies.

pmgatwork

Programmer
May 7, 2004
83
GB
Hi

In a report I use a parameter to get the start and end dates for a report selection. How can I print these dates on the report

Peter
 
Are you using one Range parameter, or 2 different parameters 2 capture the values?

If you are using 2 different parameters, you can simply drag the parameter fields from the Field Explorer onto the report and they will display.

If you are using a range parameter, you can get the start and end values using the minimum and maximum functions in a formula.

//@Date Range
"Report Date Range from " & minimum({?date range}) & " to " & maximum({?date range})

~Brian
 
Need to be more specific. Where do you want it? What format?

You post should also include

Crystal Version
Database and Connectivity
Sample Data
Formula if in question
Expected output (Layout of each section)

The above information dictates the best solution for your problem and greatly reduces the amount of information gathering posts.

-LW

-LW

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top