Hello,
I am using CR XI on Oracle ODBC
I am having issue with null dates. Here is the situation. I have to choose between two dates depending on this citeria:
Delivery Date and Start Date.
One of these dates will be the IN DATE. The problem is using the the minimum function it returns the NULL value.
Here is my logic:
This logic is in the detail section:
If (isnull({MAJOR_PROJECT_VIEW.DELIVERY_DATE}) or({MAJOR_PROJECT_VIEW.DELIVERY_DATE} = DateTime(0,0,0,0,0,0)))
then
minimum ({MAJOR_PROJECT_VIEW.START_DATE},{MAJOR_PROJECT_VIEW.ACT_CODE})
else
minimum ({MAJOR_PROJECT_VIEW.DELIVERY_DATE},{MAJOR_PROJECT_VIEW.ACT_CODE})
The formula should evalute all the Delivery Dates within the group and choose the earliest date that is not Null.
Is there a function that will not evaluated NULLs and return the correct results.
Thanks,
Gee
I am using CR XI on Oracle ODBC
I am having issue with null dates. Here is the situation. I have to choose between two dates depending on this citeria:
Delivery Date and Start Date.
One of these dates will be the IN DATE. The problem is using the the minimum function it returns the NULL value.
Here is my logic:
This logic is in the detail section:
If (isnull({MAJOR_PROJECT_VIEW.DELIVERY_DATE}) or({MAJOR_PROJECT_VIEW.DELIVERY_DATE} = DateTime(0,0,0,0,0,0)))
then
minimum ({MAJOR_PROJECT_VIEW.START_DATE},{MAJOR_PROJECT_VIEW.ACT_CODE})
else
minimum ({MAJOR_PROJECT_VIEW.DELIVERY_DATE},{MAJOR_PROJECT_VIEW.ACT_CODE})
The formula should evalute all the Delivery Dates within the group and choose the earliest date that is not Null.
Is there a function that will not evaluated NULLs and return the correct results.
Thanks,
Gee