Insert and Primarykey

Insert and Primarykey

Postby PatD » Thu 09 Dec 2004 17:41

When inserting a record in a MySQL table, the field defined as primary key with auto increment attribute is always 1.

This is MySQL Data Access Components 2.00 for C++Builder 6.

Thanks for your help.

Re: Insert and Primarykey

Postby Ikar » Fri 10 Dec 2004 07:17

We couldn't reproduce the problem.
Please send us complete small sample to demonstrate it and include script to create server objects.
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Return to MySQL Data Access Components