BCB + MySQL

L

lesiox

Hi

I wrote some GUI to connect to MySQL. I need add,edit,delete records -
nothing hard. I'm using ODBC to connect to MySQL. I can add records,
but when i try edit them or delete i have error: "EDBEngineError:
Couldn't perform edit because other user changed the record". Of
course there is no other user or any background application. When i
try do the same from 3rd application like: EMS MySQL Manager - i can't
do it too, but when i use MySQL console problem disappears. Can
someone tell me what i doing wrong? :)

Thanks for any answer.
 
S

Sharad Kala

lesiox said:
Hi

I wrote some GUI to connect to MySQL. I need add,edit,delete records -
nothing hard. I'm using ODBC to connect to MySQL. I can add records,
but when i try edit them or delete i have error: "EDBEngineError:
[snip]

What is your question about the C++ language ? Read the welcome message -
http://www.slack.net/~shiva/welcome.txt .

Thank you.
 
T

Thomas Matthews

lesiox said:
Hi

I wrote some GUI to connect to MySQL. I need add,edit,delete records -
nothing hard. I'm using ODBC to connect to MySQL. I can add records,
but when i try edit them or delete i have error: "EDBEngineError:
Couldn't perform edit because other user changed the record". Of
course there is no other user or any background application. When i
try do the same from 3rd application like: EMS MySQL Manager - i can't
do it too, but when i use MySQL console problem disappears. Can
someone tell me what i doing wrong? :)

Thanks for any answer.

Perhaps you are using BCB. I gave up using BCB with MySQL
because of Borlands weird variant data type.

I'm now using WxWidgets with GNU G++ (via Cygwin) and
MySQL. I can access the tables with no problems now.
If only G++ wasn't so cryptic with its linker messages...

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,665
Latest member
salkete

Latest Threads

Top