|
| Edit control of Duration type displays incorrect value |
| Iniciado por guest, 04,feb. 2015 08:07 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 04,febrero 2015 - 08:07 |
| The Edit on the window shows value of server uptime. I select required InputMask, the DisplayMask is Same Mask as Input but value is formatted incorrectly! For example, I choose + 1D d H h MM m SS s but the value displayed is in H h format. The common thing I noticed that days part is missing and in any case display mask is not the same I choose. That is interesting in report the value is formatted correctly. How to fix in window? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,febrero 2015 - 11:31 |
Hi,
Are you using webdev , windev?
Dates etc I always store in this format: YYYYMMDD.. If I want to present ( Show) this date in a different way then I dothat by coding.
There are functions like stringtodate() and datetostring() that can help you
Regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,febrero 2015 - 11:39 |
| did you try using DurationToString function? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,febrero 2015 - 14:03 |
I use WinDev.
I have a number of seconds. duUpTime is Duration = NumberOfSeconds * 1000 //convert to millisecods accordingly to manual There are two controls (on window and on report) with the same Duration format. The report control formats value correctly, the window one - no. |
| |
| |
| | | |
|
| | | | |
| | |
|