Hi,

When using ('-','+', 'T') keys they do not appear to work correctly.  There 
maybe other keys too.  The date is in fact placed into the control Value but 
the data field for the record is not being updated correctly.  

I have a dDateTextBox control (RegID = 'enrolldate',DataSource 
= 'public.esenroll',  DataField = 'enrolled').  I type a 'T' the value 
changes to '09/03/2009'.  I open a shell and type (do not leave the control)

self.enrolldate.Value and get '09/03/2009'
self.esenroll.Record.enrolled  and get None

I believe this is due to the fact that in the dDataControlMixinBase the 
self._oldVal is equal to '09/03/2009'.  I'm not sure how it got that value.  
So a flushValue will not work.  

If I type the date in all works correctly.

Larry started noticing the problem recently because None was being saved from 
one of my date controls.  He also confirmed the problem with the _oldVal not 
being right?

I need to point out that the bizobj default value for the field is None.

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]

Reply via email to