xBrowse EDIT_TIME

xBrowse EDIT_TIME

Postby fraxzi » Wed Oct 24, 2012 7:28 am

How to display hh:mm column in xbrowse and not hh:mm:ss?
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: xBrowse EDIT_TIME

Postby fraxzi » Wed Oct 24, 2012 7:39 am

oCol:bStrData := {|| SubStr(oBrw:aCols[2]:Value(),1,5) }

as display.. but when editing time format is hh:mm:ss even if I changed Set( _SET_TIMEFORMAT, "hh:mm")
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: xBrowse EDIT_TIME

Postby Silvio.Falconi » Wed Oct 24, 2012 11:18 am

perhpas you must use a text field "hh:mm:ss"
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: xBrowse EDIT_TIME

Postby fraxzi » Thu Oct 25, 2012 12:05 am

Thanks for the reply.

Since it is a string format, I dont need to validate it as valid time.. I just trim and ignore the seconds.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 75 guests