I have a sub form which opens in datasheet view.
When the user updates a value in one of the rows, I want another value in the same row to grab value from a text box on the parent form.
Currently I have this
But this updates the txtFileNo value in every row. I just need to change the value in the row that is currently being worked on. Not all of them!
When the user updates a value in one of the rows, I want another value in the same row to grab value from a text box on the parent form.
Currently I have this
Code:
Private Sub Status_AfterUpdate()
txtFileNo = Parent!txtFileNo
End Sub
But this updates the txtFileNo value in every row. I just need to change the value in the row that is currently being worked on. Not all of them!