Hope this is the right group,
I have a continuous form that has a 3 column drop down list box, on selecting a value from the drop down list it fills in two text boxes. This all works, my problem is: When I select a value from the list it fills in one of the text boxes, when this text box is a specific value I want another text box to fill in with specific text. The code I am using at the moment is this :
Private Sub TextBox1_AfterUpdate()
If Me.ComboBox.column(1)= "Specific Value" Then
Me.TextBox2.Value = "Specific Text"
End If
The TextBox2 value doesn't fill in unless I leave that record and then go back to it e.g. as this is a continuous form click on the record above or below and the click back in the record, and then it will update with the "Specific Text"
The above code is also in the Form_Current.
Thanks for any help
I have a continuous form that has a 3 column drop down list box, on selecting a value from the drop down list it fills in two text boxes. This all works, my problem is: When I select a value from the list it fills in one of the text boxes, when this text box is a specific value I want another text box to fill in with specific text. The code I am using at the moment is this :
Private Sub TextBox1_AfterUpdate()
If Me.ComboBox.column(1)= "Specific Value" Then
Me.TextBox2.Value = "Specific Text"
End If
The TextBox2 value doesn't fill in unless I leave that record and then go back to it e.g. as this is a continuous form click on the record above or below and the click back in the record, and then it will update with the "Specific Text"
The above code is also in the Form_Current.
Thanks for any help