Is it possible to have a PICTURE for the time() like "00:00:00"
Regards Maurizio
www.nipeservice.com
Is it possible to have a PICTURE for the time() like "00:00:00"
Regards Maurizio
Have you tried "99:99:99" ?
Maurizio,
I use "99:99" as a time picture. It works very well. The only thing is that you have to type the leading zero (like 01:35).
Michel
Regards,
Michel D.
Genk (Belgium)
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773
Maurizio and Michel,
Might I suggest making a smart control that allows different forms of time entry then formats it when the user leaves the field.
135 becomes 01:35
1350 becomes 13:50
35 becomes 00:35
This way the use doesn't have to enter the colon or the leading zero and the data still ends up formatted properly.
And how about letting the user enter "now" and the program would automaticlly insert the current time. And maybe -10m for 10 minutes ago, or -2h for two hours ago.
James