I am trying to incrementally advance my initial date value in a data entry form to save a step in data entry. Here is the code I'm working with:
Private Sub Date_AfterUpdate()
Me!Date.DefaultValue = "#" & Format(Me!Date + 1, "yyyy-mm-dd") & "#"
End Sub
This carries forward the first value, but then continues carrying the same initial increment forward. Could someone kindly point out my error here. Thank you.
Private Sub Date_AfterUpdate()
Me!Date.DefaultValue = "#" & Format(Me!Date + 1, "yyyy-mm-dd") & "#"
End Sub
This carries forward the first value, but then continues carrying the same initial increment forward. Could someone kindly point out my error here. Thank you.