on 10-01-2008 7:42 PM
I have a Crystal Report with a date range parameter.
How do I set the Begin Date to be todays date ?
I am using a Universe as the data source.
Thanks,
It is absolutely useless solution, for the questions is how to display curent date as a default value for a prompt of date type.
Edited by: Doug Muir on Nov 17, 2009 4:53 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
1) Is the prompt a constant value?
If yes then type "1900/01/01" in the from value as default value. And in the report selection formula should look similar to this :
DateVar DateParamValue:-
(
If = Date(1900,1,1) Then
DateParamValue := CurrentDate
Else
DateParamValue := {?DateParam};
{Table.DateField} = DateParamValue;
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.