I have a form with two bound controls - StarDate and EndDate.
Using code as per faq181-261, I use a third unbound control to display the number of working days between the dates. This works well.
However, if there are no dates in the two bound controls, the unbound, calculated control displays #Error.
I presume this is due to calculations involving zeros or nulls. Is there any way to suppress #Error being displayed?
Using code as per faq181-261, I use a third unbound control to display the number of working days between the dates. This works well.
However, if there are no dates in the two bound controls, the unbound, calculated control displays #Error.
I presume this is due to calculations involving zeros or nulls. Is there any way to suppress #Error being displayed?