One method in Crystal is to create a default value for a parameter:
Create a date parameter, select set default values and use 1/1/1970 (or what makes sense)
Select Report->Edit Selection Formula->Record
If minimum({?Date Range}) = cdate(1970,1,1) then
(
{table.date} >= cdate(year(currentdate),month(currentdate),day(currentdate),0,0,0)
and
{table.date} <= cdate(year(currentdate),month(currentdate),day(currentdate),23,59,59)
)
else If minimum({?Date Range}) <> cdate(1970,1,1) then
(
{table.date} = {?date range}
)
I responded to your other post, which didn't have as much information. Please refrain from cross-posting and try to supply technical information in your initial post.
-k
-k