On Thursday 29 October 2009 11:09:38 am Adrian Klaver wrote: > ----- "Steve Rose" <[email protected]> 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 > [email protected]
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: [email protected] 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/[email protected]
