G
Guest
I want to have a text box that shows the starting date of employees who were
hired since 2001, but only "Before 2001" for those who came earlier.
I have used this in the control sourse of the form but it keeps coming up
with #Error
=IIf(DateDiff("yyyy",1/1/2001,[StartDate]),"Before
2001",Format([StartDate],"d mm yyyy"))
Where am I going wrong? Thanks for any help.
Sandy
hired since 2001, but only "Before 2001" for those who came earlier.
I have used this in the control sourse of the form but it keeps coming up
with #Error
=IIf(DateDiff("yyyy",1/1/2001,[StartDate]),"Before
2001",Format([StartDate],"d mm yyyy"))
Where am I going wrong? Thanks for any help.
Sandy