I have a a standard INNOB Mysql Database, and a standard DBEdit Component. All of the fields are updating fine however it will not accept Date Field Updates.
I have tried entering the following into the DBEdit Component which is linked to a Date Field in the Dataset:
2008-02-02
02-02-02
'2008-02-02'
And So forth and so on. It is almost like the DBEdit handler must custom post the data when handling date fields with a custom function?
Any suggestions would be greatly appreciated.
DBEdit Component Not Updating Date Field in Database..
-
Challenger
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
Okay, I figured it out - it is the regional settings inside the computer, Start Control Panel - Regional Settings.
That is very interesting, - it must suggest the MyDAC component is actually quite advanced, because as I see it DBEdit is simply a string editing component, and basically a Date field in the Mysql is for all purposes a string component as well.
That is assumptive on my part and I would be the first to admit I have lots to learn, but nonetheless MyDAC must be doing some mangling of the data between them and flagging it if it does not match regional settings.
That is very interesting, - it must suggest the MyDAC component is actually quite advanced, because as I see it DBEdit is simply a string editing component, and basically a Date field in the Mysql is for all purposes a string component as well.
That is assumptive on my part and I would be the first to admit I have lots to learn, but nonetheless MyDAC must be doing some mangling of the data between them and flagging it if it does not match regional settings.