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

Lock error after update...

Status
Not open for further replies.

Run4YourLives

Programmer
Sep 24, 2002
1
CA
After running an SQL UPDATE statement on a .btr file, the records affected are no longer editable, returning messages in the parent application consistant with the record being locked.

I am assuming that, since records that weren't updated are not affected, the .BTR table thinks that the SQL statement still has the records "open", and has marked them as "locked" somewhere.

My question is twofold: 1. How can I force the records to believe that they are no longer "open", or locked by anything, (because they aren't) and 2. How can I avoid this happening again, while running SQL updates from VB6 on a Pervasive 2000i database?

Thx in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top