I have created an unbound field named "RemainingDays". I want the value of this field to be the field "BMDueDate" subtracted by the current date. The code below does not give me any errors but the results for every record are "-491". What am I doing wrong? Thanks for your help
Private Sub Form_Open(Cancel As Integer)
Me.RemainingDays.Value = Me.BMDueDate.Value - Date
End Sub
Private Sub Form_Open(Cancel As Integer)
Me.RemainingDays.Value = Me.BMDueDate.Value - Date
End Sub