EDBengineerror
Posted by: dragon prog
Date: January 13, 2012 01:24PM

Hi,

I have a problem with my program in order to modify a field in a mysql table :

The enviroment is :

MySql server running onto apache in a Ubuntu Computer.
My program is running in another computer and I work with Borland Builder 6 C++.

I connect right with mysql database throught Broland database component and I can see in my program the table values. So when I try to modify one of values I have the following error :

EDBengineerror couldn't perform the edit because another user


The code is :


Table1->First();
try
{
Table1->Edit();
Table1->FieldByName("fi")->AsInteger =22;
Table1->Post();

}
catch(Exception&)
{
Table1->Cancel();
throw ;
}

I try to change UpdateMode to upWhereKeyOnly, but it doesn´t works for me.

Anyone can help me ?

Advanced thanks



Edited 3 time(s). Last edit at 01/13/2012 01:31PM by dragon prog.

Options: ReplyQuote


Subject
Views
Written By
Posted
EDBengineerror
1618
January 13, 2012 01:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.