i have this expression
that works just fine if the date field gtcalcdate is not null if it is null the field just displays #Error.
I know why it can't make a calculation on a null field. I tried to add is not nothing to this but it did not help.
I either want to add gtcalcdate is not nothing to this so if the date field is null it does not evaluate it, or change the visibility to false if i get an error.
Thanks
Code:
=IIF (DatePart("y",Fields!GtCalcDate.Value) 304), (DateAdd ("H", -1, Fields!FirstCall.Value)),(Fields!FirstCall.Value))
that works just fine if the date field gtcalcdate is not null if it is null the field just displays #Error.
I know why it can't make a calculation on a null field. I tried to add is not nothing to this but it did not help.
I either want to add gtcalcdate is not nothing to this so if the date field is null it does not evaluate it, or change the visibility to false if i get an error.
Thanks