May 2, 2006 #1 smtoomey3 Technical User Joined Nov 8, 2005 Messages 69 Location US Can someone tell me what is wrong with this formula crystal keeps telling me I'm missing a ( if {OELINHST_SQL.shipped_dt}=0 then (DateToJulian(CurrentDate)) else {@ShippedDateJulian}
Can someone tell me what is wrong with this formula crystal keeps telling me I'm missing a ( if {OELINHST_SQL.shipped_dt}=0 then (DateToJulian(CurrentDate)) else {@ShippedDateJulian}
May 2, 2006 #2 dgillz Instructor Joined Mar 2, 2001 Messages 10,059 Location US I am assuming this is crystal....why are you using julian dates? I see no problems with your formula however. Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports http://www.gainfocus.biz Upvote 0 Downvote
I am assuming this is crystal....why are you using julian dates? I see no problems with your formula however. Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports http://www.gainfocus.biz
May 3, 2006 #3 kscheeler Instructor Joined Jul 30, 2003 Messages 437 Location US You could try it this way: if {OELINHST_SQL.shipped_dt}=0 then DateToJulian(CurrentDate) else {@ShippedDateJulian} or use the NumberToDate function in Crystal and do this: if {OELINHST_SQL.shipped_dt}=0 then CurrentDate else NumberToDate({OELINHST_SQL.shipped_dt}) Kevin Scheeler Upvote 0 Downvote
You could try it this way: if {OELINHST_SQL.shipped_dt}=0 then DateToJulian(CurrentDate) else {@ShippedDateJulian} or use the NumberToDate function in Crystal and do this: if {OELINHST_SQL.shipped_dt}=0 then CurrentDate else NumberToDate({OELINHST_SQL.shipped_dt}) Kevin Scheeler