|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Dabo-users Digest, Vol 64, Issue 40On Thursday 29 October 2009 10:39:05 am Steve Rose wrote:
> I'm > wondering if dDateTextbox is looking for a DATETIME, not a DATE? Not the problem IMO. I use DATE as my data type always for dates. If the backend has the column data type as DATE it should work. How about providing your bizobj class - maybe we see something in the code. Also does the calendar work for the control in question? Johnf _______________________________________________ Post Messages to: Dabo-users@... Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/200910291059.52294.jfabiani@... |
|
|
Re: Dabo-users Digest, Vol 64, Issue 40----- "Steve Rose" <gnateater@...> wrote: > Thanks for your responses John and Adrian. > > When I set the textbox as a dDateTextBox it displays <None> but the > other > TBs display correctly,but they are not linked to date fields plus > their > textboxes are derived from the dTextBox class. I checked the MySQL > table > structure and the field in question is definitely a DATE data type. > I'm > wondering if dDateTextbox is looking for a DATETIME, not a DATE? > > Any ideas appreciated. > Do you know and/or can show what format your dates are returned as? The reason I ask is because of the information fromm the dDateTextBox docs. http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dDateTextBox.dDateTextBox.html StrictDateEntry Specifies whether date values must be entered in strict ISO8601 format. Default=False. If not strict, dates can be accepted in YYYYMMDD, YYMMDD, and MMDD format, which will be coerced into sensible date values automatically. Adrian Klaver aklaver@... _______________________________________________ Post Messages to: Dabo-users@... Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/1262348857.2011471256839778438.JavaMail.root@... |
|
|
Re: Dabo-users Digest, Vol 64, Issue 40On Thursday 29 October 2009 11:09:38 am Adrian Klaver wrote:
> ----- "Steve Rose" <gnateater@...> wrote: > > Thanks for your responses John and Adrian. > > > > When I set the textbox as a dDateTextBox it displays <None> but the > > other > > TBs display correctly,but they are not linked to date fields plus > > their > > textboxes are derived from the dTextBox class. I checked the MySQL > > table > > structure and the field in question is definitely a DATE data type. > > I'm > > wondering if dDateTextbox is looking for a DATETIME, not a DATE? > > > > Any ideas appreciated. > > Do you know and/or can show what format your dates are returned as? The > reason I ask is because of the information fromm the dDateTextBox docs. > > http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dDateTextBox.dDateText >Box.html > > StrictDateEntry > > Specifies whether date values must be entered in strict ISO8601 format. > Default=False. > > If not strict, dates can be accepted in YYYYMMDD, YYMMDD, and MMDD format, > which will be coerced into sensible date values automatically. > > > > Adrian Klaver > aklaver@... Maybe but "StrictDateEntry" about data entry (I think) and not about displaying the data. Displaying dates can be set with something like dabo.settings.dateFormat = "%m/%d/%y" Johnf _______________________________________________ Post Messages to: Dabo-users@... Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/200910291114.56573.jfabiani@... |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |