Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting

Post new topic   Reply to topic
delete row:Row can not be located for updating.Some Values..
View previous topic :: View next topic  
Author Message
ohno-again
Newbie


Joined: 23 Sep 2005
Posts: 6

PostPosted: Dec 11th, 2005 08:42 AM    Post subject: delete row:Row can not be located for updating.Some Values.. Reply with quote

I have an access db and a form that adds edits and deletes records from it.
Add and edit work fine and usually so does delete.

When I try to delete a record thats been just added I get the error:

Row cannot be located for updating. Some values may have been changed since it was last read.

If I add a record, close the form and go back in and delete it, it doesn't produce the error.

Does anyone know how to solve this problem?

any help would be very appreciated.
Back to top
View user's profile Send private message
VB_Developer
Newbie


Joined: 25 Feb 2006
Posts: 18
Location: Hyderabad, India

PostPosted: Feb 26th, 2006 04:04 AM    Post subject: Reply with quote

Hi,
Could you please post your code here.

even i can give you a solution. try this

refresh your recorset or recordsource, before deleting the record that is recently added to the table.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic