main logo
Subject: Re: [dabo-users] dGrid with DateTextBox
Author: johnf
Posted: 2008/01/31 12:15:11
 
View Entire Thread
New Search


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



 
©2008 johnf
<-- Prior Message New Search Next Message -->