SOS
Registered Lunatic
- Local time
- Yesterday, 17:36
- Joined
- Aug 27, 2008
- Messages
- 3,514
Wait a minute. I just had a revelation. Yes, you might need to store those dates as it is based on TODAY'S date. So, forgive me. We would need to use the combo's after update event to save the date to the field you wanted. So, reset the control source of the text box back to the field and then change the combo's after update event to this:excuse my ignorance please but wouldnt i have to store those dates and run the query? we will be entering dates everyday and need to keep track of them?
Code:
Private Sub Combo36_AfterUpdate()
Select Case Me![Susp Days]
Case "1 Day"
Me![Susp Act Date] = Date
Case "4 Days"
Me![Susp Act Date] = DateAdd("d", 4, Date)
Case "10 Days"
Me![Susp Act Date] = DateAdd("d",10,Date)
End Select
End Sub