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

Two computers writing a new record at the same time

Status
Not open for further replies.

dendic

Programmer
Jan 19, 2003
106
US
I have several people creating new records to the same table at the same time. The new record is created by code the ADDNEW and UPDATE commands. Once in a while I get corruption where if I try to open the table manually I get an error message stating a record has been deleted and can't be opened. I then do a repair and the record that was the problem has several fields with ############# in them. I then delete that record and all is OK. Any suggestions on what can cause this problem. My default record locking is set to edited record. Maybe there is a way in code to check if a table is being edited then I can wait until it's complete before writing the next record?
 
Well that eliminates the most common problem, perhaps it could be one of the others listed in the link?
 
search the faqs re autonumber and why to NOT use them.



MichaelRed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top