Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change a text box value in datasheet view for only one row? 1

Status
Not open for further replies.

CGSB

Programmer
May 23, 2006
35
CA
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

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!
 
How are ya CGSB . . .

Apparently [blue]txtFileNo[/blue] is an unbound textbox. This is typical behavior of [blue]unbound[/blue] controls ! . . .

Calvin.gif
See Ya! . . . . . .
 
That was the problem! Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top