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?
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?