My report displays data including dates that does not exists on the database. I think these are the default dates and I don't want these to display on the report. I group the report based on the Order No. I have the formula that calculates number of days when the order was placed and the difference when the order was completed. I previously got help from lbass and the formula works. Now I need to remove these unwanted dates from displaying on my report.
My formula that calculates DateDiff:
if {#OrderRecord} = 1
then {FinDate}-{OrdDate}
else {FinDate}-{OrdDate})
Here's the Result:
OrdDate FinDate DateDiff
8/2/2002 11/11/02 69
8/2/2002 11/11/02 0
8/2/2002 1/1/1970 -11971
8/2/2002 1/1/1970 0
What I need to accomplish is to remove the 1/1/1970 dates and also don't display the DateDiff of 0 and -11971 since these are an incorrect value. Is there a simplier way to do this? Thanks again.
My formula that calculates DateDiff:
if {#OrderRecord} = 1
then {FinDate}-{OrdDate}
else {FinDate}-{OrdDate})
Here's the Result:
OrdDate FinDate DateDiff
8/2/2002 11/11/02 69
8/2/2002 11/11/02 0
8/2/2002 1/1/1970 -11971
8/2/2002 1/1/1970 0
What I need to accomplish is to remove the 1/1/1970 dates and also don't display the DateDiff of 0 and -11971 since these are an incorrect value. Is there a simplier way to do this? Thanks again.