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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Row cannot be located for updating

Status
Not open for further replies.

Ramya1

Programmer
Oct 11, 2002
40
US
I have an application with multiple access. On certain items in the grid, when I pull the item up and try to modify the item information, it gives this error "Row cannot be located for updating. Some values may have been changed since it was last read."
It is displaying as Database Error and we are unable to proceed when the popup comes up and locks everything up.

Any suggestions or explanations on how and why the error occurs and steps to solve the error "Row cannot be located for updating" is much appreciated.

Thanks.
Ramya.
 
Hey,

What you will need to do is requery your recordset. This will allow your recordset to grab the most recent data. I tend to do this at the beginning of each function when I have a global recordset open that is used in many places...It is easy, quick and adds database integrity to your app... The expression is below:

RS.Requery (where RS is the name of your recordset)

Hope this helps,
Chad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top