Anders
Thu Feb 05 19:02:06 CST 2004
Don't bind the textbox to the datetime column. Make it's Value a date and
assign this value to the Datetime.
-Anders
"toylet" <toylet@mail.hongkong.com> wrote in message
news:O4694C#6DHA.2540@TK2MSFTNGP11.phx.gbl...
> can I do it without modifying the data type?
> seems that I need to use another variable as an intermediate and do
> conversion.
>
> >> How could I create a textbox that input the date part only (that is
> >> without the time portion)?
> > You cannot do it with an InputMask, I think.
> > Try TTOD() or, with a remote view, you can
> > DbSetProp(..,..,'DataType','D')
>
> sorry I mixed up.
>
> >> `set date to short` doesn't work.
> > It's meant to take over the current O/S user's locale
> > display preferences.
> --
> .~. Might, Courage, Vision. In Linux We Trust.
> / v \
http://www.linux-sxs.org
> /( _ )\ Linux 2.4.22-xfs
> ^ ^ 8:06pm up 13 days, 20:38, 0 users, load average: 1.00, 1.00,
0.93