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

Borland Dbase Engine error

Status
Not open for further replies.

espltd

Programmer
Apr 6, 2005
233
US
Hi I am using Builder 6 C++ and have set up a dbase alias with BDE, get the following error when I try to post a record change. I am using the TTable Class.
Couldn't perform the edit because another user changed the record. The ID column is a primary key and other columns are text.
DBTable->SetKey();//works
DBTable->FieldByName("ID")->AsString = "3";//works
DBTable->GotoKey();//works
S=DBTable->FieldByName("AircftType")->AsString;//works
DBTable->Edit();//
DBTable->FieldByName("AircftType")->AsString= "F33";
DBTable->Post();//examples show it with append,
Just wondering if anyone knows the problem?
 
I believe you need to set it up so that your program has exlusive control of the database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top