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

Parameter Value - Date Range Query 1

Status
Not open for further replies.

ChrisBelzona

Programmer
Oct 25, 2000
137
GB
Hi

I've just noticed that in Crystal 8.5 you can create a parameter with date format and select a range values - when I run the report a parameter prompt appears asking for the Start and End Date.

My question is how do I refer to these two values from the 1 parameter?

I'm looking to to create a formula where the a field Date is between Parameter Start and End range.

Any help would be great thanks?
 
You need to use the IN operator i.e.

{Table.Date} IN {?DateRange}

HTH

Gary Parker
MIS Data Analyst
Manchester, England
 
Glad to help

Gary Parker
MIS Data Analyst
Manchester, England
 
Gary

The next step for this is of course puting the range in a report title field - can you assist here also.

Thanks

Chris
 
Create yourself 2 formulas

Minimum({?DateRange})

and

Maximum({?DateRange})

There's a very good FAQ on this topic FAQ767-1206.


Gary Parker
MIS Data Analyst
Manchester, England
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top