On Thursday, October 27, 2011 05:44:20 pm John Fabiani wrote:
> On Thursday, October 27, 2011 05:27:17 pm John Fabiani wrote:
> > On Thursday, October 27, 2011 05:24:00 pm Paul McNett wrote:
> > > On 10/27/11 5:10 PM, John Fabiani wrote:
> > > > This is new.
> > >
> > > Since what revision?
> > >
> > > Paul
> >
> > I don't know at the moment. Trying to find it now.
> >
> >
> > Johnf
>
> I have gone back a long ways - it must be my code somehow. I'm guessing I
> did not notice it in the past. The only question - what could be causing
> it? All I do is type in the date and the error appears (as soon as I tab
> off). It happens on Linux and windows.
>
> Any suggestions?
>
> gs1.append(dabo.ui.dDateTextBox(self, RegID = 'pes_enrolled', TabStop =
> False, BackColor = 'wheat', Width=150,ExtendedCalendar=True,DataSource
> ="self.Form.esenroll", DataField = "enrolled"))
>
> That's the code? The code is on a dabo.ui.dScrollPanel that's why the
> datasource uses self.Form.
>
> Johnf
I think I have figured it out.
ustr(fldType) returns
u"<type 'datetime.date'>"
dtStrings = ("<type 'DateTime'>", "<type 'Date'>", "<type
'datetime.datetime'>")
My fldType is not in the dtString.
I believe it should be.
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]