Hi Ed,
Thanks for your last replay; I'm loving dabo.
I've a field that requires a text date in this format: YYYYMMDD
I've included this for the edit tab:
def getEditClassForField(self,
fieldName):
class MydDateTextBox(dabo.ui.dDateTextBox):
def initProperties(self):
MydDateTextBox.doDefault()
self.dateFormat='YMD'
if fieldName == "date":
return MydDateTextBox
return None
This works for the edit tab; I can select a date via the calendar, but
when I save the record, the date doesn't save. If I edit the
dDateTextBox manually, it saves correctly--it only loses its data when I
edit the control via "C" to pop up the calendar. When choosing a date
via the calendar, it's almost like the control doesn't realize it has
been altered.
Am I missing something? Thank you for your time.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users