Hi,
= If UserResponse(“ALL” ,“Begin Date”) = “12/31/2999” Else ToDate(UserResponse(“ALL” ,“Begin Date”) ,“mm/dd/yyyy”)
How do I make this date label work?
is a measure. I think that’s where the problem is.
Can anyone help me with this?
Thanks
Candy :? :?
eye_candy
(BOB member since 2005-03-18)
What is its datatype? An If() should return same data types in both true as well as else part.
Jansi
(BOB member since 2008-05-12)
Thanks Jansi… datatype is DATE
I have a list of dates in the report. I want to display the Min date in that variable.
eye_candy
(BOB member since 2005-03-18)
Great. Please also tell what error message you get. Or wrong values?
Jansi
(BOB member since 2008-05-12)
Error : DMB0007
eye_candy
(BOB member since 2005-03-18)
Oops. Sorry, I didn’t look at the subject line. Please post the code for
Jansi
(BOB member since 2008-05-12)
=Min()
Extract Date is datatype DATE
eye_candy
(BOB member since 2005-03-18)
Did you type in the formula exactly as it is listed in your report? I’d think you were at least missing the then clause:
= If UserResponse(“ALL” ,“Begin Date”) = “12/31/2999” then Else ToDate(UserResponse(“ALL” ,“Begin Date”) ,“mm/dd/yyyy”)
digpen
(BOB member since 2002-08-15)
system
10
I never noted it. Good catch. 
Jansi
(BOB member since 2008-05-12)