G
Guest
I would like to return only the YEAR in a Text Box on a form.
I tried adding this to the Text Box but it still returns the mm/dd/yyyy
Private Sub TR_CLOSEDATE_BeforeUpdate(Cancel As Integer)
Dim LYear As Integer
LYear = Year(TR_CLOSEDATE)
End Sub
Suggestions
I tried adding this to the Text Box but it still returns the mm/dd/yyyy
Private Sub TR_CLOSEDATE_BeforeUpdate(Cancel As Integer)
Dim LYear As Integer
LYear = Year(TR_CLOSEDATE)
End Sub
Suggestions