Insert and Primarykey

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply

Insert and Primarykey

Post by 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.

Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: Insert and Primarykey

Post by 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.

Post Reply