Subject | Re: [IBO] Problem editing timestamp as time only (NODATE doesnt work) |
---|---|
Author | Andreas Pohl |
Post date | 2002-05-16T12:57:20Z |
How about with delphi's format masks: dd.mm.yy hh:nn:ss ? It should do the
trick ... und wehe nicht :)
trick ... und wehe nicht :)
> Does the syntax of DisplayFieldFormat differ from EditMask? I
> tried "00:00" and "##:##" whith the result that the edit box displays
> the setting of the DisplayFieldFormat and no actual value any more.
>
> --- In IBObjects@y..., "Andreas Pohl" <apohl@i...> wrote:
> > Try to assign not only a FieldEditMask but also a
> FieldDisplayFormat. Shown
> > date part (1899) is date equivalent to it's 0-value of date part.
> >
> > > To display and edit only the time part of a timestamp field, I
> > > configured the column's NODATE propery and configured an edit mask
> > > of "00:00".
> > > The problem is that an edit box bound to the field displays the
> time
> > > part only when it has the focus and a weird date of 1899
> otherwise.
> > > What is wrong here?
> > >
> > > Mirco
> > >