Reputation: 11
My task is to create a report with a date prompt.
Table structure is like this:
Name --- Valid_from --- Valid_till
------------------------------------
Smth1 --- 2001-01-01 --- 2003-03-03
Smth2 --- 2002-02-02 --- 2004-04-04
Person should be promoted to enter one date and report should show records that was valid that day.
Environment: Crystal Reports 2008 and Oracle database.
Upvotes: 1
Views: 781
Reputation: 2684
Given a date parameter named {?DateParameter}
, you could set your selection criteria to be something like this:
{?DateParameter} between Valid_from and Valid_till
Upvotes: 2