I want one field to update based on two other fields information
User selects "status" and inserts "date" request was made, automated due date populates "due date" field in form. 14 and 1 are days...not months or years.
Thanks for any help...
User selects "status" and inserts "date" request was made, automated due date populates "due date" field in form. 14 and 1 are days...not months or years.
Code:
Private Sub Date_AfterUpdate(Cancel As Integer)
If Me.[Priority] = "Standard Research Request" Then
Me.[DueDate] = Me.[Date] + 14
If Me.[Priority] = "Pricing Dispute" Then
Me.[DueDate] = Me.[Date] + 1
End If
End Sub