Print Page | Close Window

Date Range Parameter

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19282
Printed Date: 20 Apr 2024 at 4:36am


Topic: Date Range Parameter
Posted By: oceanview
Subject: Date Range Parameter
Date Posted: 15 Mar 2013 at 2:05pm

In my table I have a date field named WorkDate(which stores every working date the employee work for the day). I need a date range parameter where the start date and end date may be the Future Date. So how to pass that parameter?

I want to store the input date range values(start date , end date) in two variables and then want to compare with the table date field(WorkDate).
 
Please help me.



Replies:
Posted By: kevlray
Date Posted: 18 Mar 2013 at 6:28am
I think I know what you want.  First off set up a Date Parameter that accepts a date range (I.e, {?Date Range}).  Second, to store those values, use minimum({?Date Range}) and maximum({?Date Range}) to get the the start and end dates.

I hope this helps.



Print Page | Close Window