Subject | RE: [IBO] Displaying a TIME field (Attn. Jason and Dirk Schiffler ) |
---|---|
Author | Ales Kahanek |
Post date | 2002-07-04T13:44:19Z |
Dirk,
OK, it sounds good, but again: when I type a number (for ex. 8) and want to
move to another column, I receive a message "8: : is not a valid time". My
ShortTimeFormat variable is h:mm. Playing with NODATE and field format gets
no results. It is annoying, that user MUST fill all the numbers and before
the IBO Hc update he simply filled ONLY ONE.
Thank you for you attention and time.
Ales
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
OK, it sounds good, but again: when I type a number (for ex. 8) and want to
move to another column, I receive a message "8: : is not a valid time". My
ShortTimeFormat variable is h:mm. Playing with NODATE and field format gets
no results. It is annoying, that user MUST fill all the numbers and before
the IBO Hc update he simply filled ONLY ONE.
Thank you for you attention and time.
Ales
> -----Original Message-----http://docs.yahoo.com/info/terms/
> From: Dirk Schiffler [mailto:ds@...]
> Sent: Thursday, July 04, 2002 11:45 AM
> To: IBObjects@yahoogroups.com
> Subject: AW: [IBO] Displaying a TIME field (Attn. Jason and
> Dirk Schiffler)
>
>
> Following changes was make in Hc:
> ...
> an Enhancement in TIB_Column.GetDisplayText
> If no DisplayFormat defined for DateTime values, then the standard
> should be the global variables ShortDateFormat and/or
> ShortTimeFormat
> and not any mask.
> ...
>
> Jason has check my changes.
>
> If no DisplayFormat is defined and ColumnAttributes for a
> field is set to
> NODATE,
> then work following code: FormatDateTime( ShortTimeFormat,
> AsDateTime )
> If a DisplayFormat is defined,
> then the original code is work: FormatDateTime(
> DisplayFormat, AsDateTime )
>
> Best regards
> Dirk Schiffler
> ds@...
>
>
> -----Ursprungliche Nachricht-----
> Von: Ales Kahanek [mailto:ales.kahanek@...]
> Gesendet: Donnerstag, 04. Juli 2002 08:29
> An: 'IBObjects@yahoogroups.com'
> Betreff: RE: [IBO] Displaying a TIME field (Attn. Jason and Dirk
> Schiffler)
>
>
> Jason,
> I can simply say the following :
>
> Before update to 4.2Hc there was a nice feature to
> insert value to TIME field in the grid. A user could type for
> example digit
> 8, then he moved to another column and the value was
> automatically completed
> to '8:00'. Now (4.2Hc) it displays mask 8 : : and after
> moving to another
> column the app complains that this is not valid time.
>
> I tried to set NODATE and FieldDisplayFormat hh:nn to this
> field and nothing
> has changed. The ShortDateFormat variable is h:mm. OS Win XP
> Pro, Delphi 6
> update 2.
>
> If more detail is needed, tell me, please.
> Ales
>
> > -----Original Message-----
> > From: Jason Wharton [mailto:jwharton@...]
> >
> > Please provide more details for me to go on.
> >
>
>
> ______________________________________________________________
> _____________
> IB Objects - direct, complete, custom connectivity to
> Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ______________________________________________________________
> _____________
> http://www.ibobjects.com - your IBO community resource for
> Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/