textbox based off another textbox

awake2424

Registered User.
Local time
Today, 12:45
Joined
Oct 31, 2007
Messages
479
Is it possible to have the value in a text box be set automatically based on the value in another textbox?

For example, Textbox Gender is Male, so Textbox Reference is Male.

Code:
IFF Me.Gender = "Male" Then
Me.Reference = "Male" And
Me.ID = "ea13-02c"
Else If
Me.Gender = "Female"
Me.Reference = "Female" And
Me.ID = "ea13-01c"
End If

Thank you.
 
Try:
Code:
If Me.Gender.value = "Male" Then
me.Reference.value = "Male"
Me.ID = "ea13-02c"  
elseIf me.Gender.value = "Female" Then
me.Reference.value = "Female"
Me.ID = "ea13-01c"
End If
 

Users who are viewing this thread

Back
Top Bottom