Can anyone tell me why having used the following code on all my forms in a database without any problems:
If DateDiff("d", Now, "01/04") <= 0 Then
Me.txtYear.SetFocus
Me.txtYear.Text = Year(Now) & "/" & (Year(Now) + 1) 'Date is past 1st April
Else
Me.txtYear.SetFocus...