Page 1 of 1

How to retrieve MySQL field Default value ?

Posted: Thu 19 May 2005 10:04
by swierzbicki
Hi,

When I've designed my table, I've set default value on some fields.

Now, when inserting a new row, default values aren't fetched. Am I missign something (a property to set) or MyDac isn't capable to retreive default values ?

Thank You.

Best Regards,

Stéphane Wierzbicki

Posted: Thu 19 May 2005 15:35
by Ikar
MyDAC doesn't provide such functionality. We are planning to add it but not at the nearest time.

Posted: Thu 19 May 2005 15:54
by swierzbicki
Ok, it's good to know it.
I will try to handle my problem on a different way :)

Best Regards,

Stéphane Wierzbicki

Posted: Thu 19 May 2005 23:19
by GEswin
Hi

I would like to see this feature too, right now I do a Refresh of record after first post, so i can see default values, but this approach is not best way. I would prefer to see default values after an append/insert.

Posted: Mon 23 May 2005 07:46
by swierzbicki
Hi,

Ikar, is there a date planned for this feature ?

Posted: Mon 23 May 2005 13:36
by Ikar
> Ikar, is there a date planned for this feature ?

Not yet, now I cannot tell you when exact it will be added.

Posted: Thu 02 Jun 2005 11:09
by Ikar
We added support of getting Default Values. Look forward for beta version, we are planning to release it this week.

Posted: Mon 06 Jun 2005 13:11
by Ikar
New build was released and you can download it (4.00.0.1 Beta) now from Core Lab server.
For more details about different reasons of this error occurrence please see http://crlab.com/forums/viewtopic.php?t=1359