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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date/Range Parameters

Status
Not open for further replies.

juspar

Technical User
Oct 18, 2002
2
0
0
GB
Hello Guys

I am trying to create a report with a date parameter that allows for a range of values and want to display the start and end values of the range parameter. What would be the best method for doing this?
 
You can create formulas that can be used for display of the dates:

@StartDate: ToText(Minimum({?DateRange}),"M/d/yyy")

and

@EndDate: ToText(Maximum({?DateRange}),"M/d/yyy")

use the formula fields in your report where you need them.
 
Just create one formula:

"From "+totext(minimum({?DateRange}))+" to "+totext(maximum({?DateRange}))
Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top