Auto Change a Field When Another is Updated

smaumau

Registered User.
Local time
Today, 00:13
Joined
Feb 23, 2006
Messages
32
I have a form where sales can be entered. Whenever a [salesdate] is entered, I would like the [status] to automatically change to "Sold". How can I go about doing this?
 
Why do you need to store a value that can be derived whenever you need it? Iif(IsDate(salesdate), "Sold", "")

If you must, use the AfterUpdate event of the salesdate text box...
If IsDate(Me.txtsalesdate) Then
Me.txtstatus = "Sold"
End If
 

Users who are viewing this thread

Back
Top Bottom