Hi,
I have a form with a continuous subform in it. In the subform, if I make a VBA button to disable a text box called txtBox, every txtBox in the form (continuous) is disabled. How do I get the button to disable only the record that the button is clicked in to be disabled.
eg. the code is
Private Sub cmdTxtBoxDisable_Click()
Me.txtBox.Enabled = False
End Sub
many thanks!
Allen
I have a form with a continuous subform in it. In the subform, if I make a VBA button to disable a text box called txtBox, every txtBox in the form (continuous) is disabled. How do I get the button to disable only the record that the button is clicked in to be disabled.
eg. the code is
Private Sub cmdTxtBoxDisable_Click()
Me.txtBox.Enabled = False
End Sub
many thanks!
Allen