Can someone please tell me how to get the following to return the # of months and # of days, in addition to the # of years. Thanks!
Private Sub ContractTerm_GotFocus()
If Not IsNull(txtContractEffectiveDate) And Not IsNull(txtContractTermDate) Then
Me.ContractTerm.Value = DateDiff("yyyy", [txtContractEffectiveDate], [txtContractTermDate])
Else
End If
End Sub
Private Sub ContractTerm_GotFocus()
If Not IsNull(txtContractEffectiveDate) And Not IsNull(txtContractTermDate) Then
Me.ContractTerm.Value = DateDiff("yyyy", [txtContractEffectiveDate], [txtContractTermDate])
Else
End If
End Sub