MyDac Migration

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lucascompa
Posts: 7
Joined: Mon 09 Jun 2008 07:49

MyDac Migration

Post by lucascompa » Mon 09 Jun 2008 08:01

Hi,

we were using MyDac with Delphi 2006.
We are migrating to UniDac with Delphi2007.

We have one problem with MySQL AutoIncrement Field and TUniTable.

When we try to write a value for an autoincrement field this throws an exception saying that this field was read-only, but MySQL allows to write that fields.

How can we solve this issue?

Thanks
Luca Scomparin

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 09 Jun 2008 10:54

We have fixed this problem. The fix will be included in the next build of UniDAC.

As a workaround you can set SetFieldsReadOnly option of TUniTable to False.

lucascompa
Posts: 7
Joined: Mon 09 Jun 2008 07:49

Post by lucascompa » Tue 10 Jun 2008 09:17

Thanks!

We already have discovered the work-around!

When will be avaible the next build of UniDAC?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 13 Jun 2008 10:35

We have released new UniDAC build today.

Post Reply