> Do you see the same symptom if you use a raw dTextBox instead of a dDateTextBox? > > Paul
Yes, although that figures, now (read on). > Hi, > > where did you put your call to self.requery() (the form's requery > method) ? If it is in the afterInit() method of the form then the data is > queried before the dateTextBox is initialized and the real date is beeing > overwritten by the default value of dDateTextBox. If that is the case, > put your call to self.requery() in the afterInitAll() method of the form > and you'll be fine. > > Regards > > Pete Thanks for this, I found the problem. I was calling self.requery() in createBizobjs(), as I saw on some tutorial, I believe. Even when I placed self.requery() in afterInitAll(), the problem persisted, and on top of that the App was asking me whether I wanted to save the changes (apparently the second requery() was trying to overwrite the date with the data from the database). After I removed self.requery() from createBizobjs(), the problem was solved (as it should). Alexander Altanis _______________________________________________ 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]
