Subject Re: [IBO] Problem editing timestamp as time only (NODATE doesnt work)
Author mircostange
Hm...no. Are we talking about the same place to change this? I went
into the query editor and entered "hh:nn" into the column's edit mask
and display format fields. Save, compile, run ... shows me "hh:nn" in
the edit box.

Mirco

--- In IBObjects@y..., "Andreas Pohl" <apohl@i...> wrote:
> How about with delphi's format masks: dd.mm.yy hh:nn:ss ? It should
do the
> 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
> > > >