On Thursday 31 January 2008 09:10:00 am Paul McNett wrote: > johnf wrote: > > On Thursday 31 January 2008 07:35:59 am Gary Thompson wrote: > >> Hi All, > >> I hope this is an appropriate place to share this. I've been > >> wanting to have a DateTextBox as part of a grid column for a long time, > >> to simplify bulk data editing where dates are involved. > >> > >> I have managed to hack something together which does the job, I must > >> warn you that I do not have a lot of programming experience (thank you > >> to those out there whose code I poached in trying to put this > >> together). If there is another way which I missed when trying to > >> resolve this, I would be interested in knowing. Otherwise, here is some > >> code: > > > > Running the code I noticed that typing in 01/32/2008 (Jan 32 2008) caused > > the date to become 01/31/2008 without warning the user. Shouldn't you > > warn the user? > > IMO the behavior should be to revert back to the prior entry. IOW, if > 6/17/2006 was displayed, and the user typed 01/32/2008, the entry would > revert back to 6/17/2006. > > Paul
+1 -- John Fabiani _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
