Hi I have 2 textboxes.By entering different number values to the first I want to return text to the other.For now my code is like that but not working :
Private Sub Text430_AfterUpdate()
If (Me!Text430.Value = 1) Then
Me!Text431.Value = "BR"
ElseIf (Text430.Value = 2) Then
Me!Text431.Value = "BZ"
ElseIf (Text430.Value = 3) Then
Me!Text431.Value = "DL"
ElseIf (Text430.Value = 4) Then
Me!Text431.Value = "DV"
End If
End Sub
Please help
Regards
Private Sub Text430_AfterUpdate()
If (Me!Text430.Value = 1) Then
Me!Text431.Value = "BR"
ElseIf (Text430.Value = 2) Then
Me!Text431.Value = "BZ"
ElseIf (Text430.Value = 3) Then
Me!Text431.Value = "DL"
ElseIf (Text430.Value = 4) Then
Me!Text431.Value = "DV"
End If
End Sub
Please help
Regards