I have a date field that is a number in the database stored as 37190 that needs to be converted to Julian. However, there are some dates in the database stored as 99999 and these dates need to be displayed as 99/99/99 on my report. I used this formula to do all this saved as {@Date}:
if {WHSP999R.ACTDJR} = 99999 then "99/99/99"
else
ToText (DateValue ({WHSP999R.ACTDJR}+60), "MM/dd/yy"
Then I created a parameter called {?Actioned Date) that has a string value (this needs to be a string because the date will be passed as a string 01/23/02 using java, user will not even see Crystal). I also made this parameter a Range.
In the Record Selection Editor, I did:
{@Date} in {?Actioned Range}
Now, here comes the problem...
When I enter start range as 12/25/01 and End Range as 01/23/02, I get an error saying "The minimum cannot be larger than the maximum."
What can I do so that it recognizes that this date is earlier? If there is clarification needed, please do ask!
Thank you so much! s-)
if {WHSP999R.ACTDJR} = 99999 then "99/99/99"
else
ToText (DateValue ({WHSP999R.ACTDJR}+60), "MM/dd/yy"
Then I created a parameter called {?Actioned Date) that has a string value (this needs to be a string because the date will be passed as a string 01/23/02 using java, user will not even see Crystal). I also made this parameter a Range.
In the Record Selection Editor, I did:
{@Date} in {?Actioned Range}
Now, here comes the problem...
When I enter start range as 12/25/01 and End Range as 01/23/02, I get an error saying "The minimum cannot be larger than the maximum."
What can I do so that it recognizes that this date is earlier? If there is clarification needed, please do ask!
Thank you so much! s-)