switch value based on condition

awake2424

Registered User.
Local time
Today, 17:10
Joined
Oct 31, 2007
Messages
479
Is it possible to create a VBA on the AfterUpdate() that flips a value based on a condition?

For example, if in a text box (Gender) there is a value of "Male" and in a combo1309 the value is "No", can Gender be switched to "Female" automatically?

Code:
 IF Me.combo1309 = "No" Then 
              Me.gender....

Thanks.
 

Users who are viewing this thread

Back
Top Bottom