Page 1 of 1

MyDac Migration

Posted: Mon 09 Jun 2008 08:01
by lucascompa
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

Posted: Mon 09 Jun 2008 10:54
by Plash
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.

Posted: Tue 10 Jun 2008 09:17
by lucascompa
Thanks!

We already have discovered the work-around!

When will be avaible the next build of UniDAC?

Posted: Fri 13 Jun 2008 10:35
by Plash
We have released new UniDAC build today.