You have not mentioned whether you have passed these in as parameters or directly into the selection formula.
If they are as parameters then they are available as fields to be dragged on to the report, just like a database field. If you have set the parameter up as a range rather than two distinct parameters, then you need to create a formula for each of the two dates. The start of range, or the lower date should use the Minimum() function:
Minimum({?Date Range Parameter})
while the end date, or the later date, formula should use the Maximum function:
Maximum({?Date Range Parameter})
You then drag these formulae onto the page.
If you fed the dates into the report directly through the selection formula, then you need to create a formula within Crystal Reports that parses the "Record Selection Formula" special field to pull the relevant information - but I think that it might be easier to set up a range parameter and do as it stated above.
Derek Stobbart
Business Objects Consultant - Perth, Western Australia
|