Jenny,
There are a couple of Time Classes in the files section. You may be able to use one of them or find some good ideas for handling your time.
>JEnny,
>
>Look at TIME and SET HOURS.
>
>
>>Greetings all,
>>
>>My appologize if my question sounds stupid one, but I really need your help about this one.
>>I have a time field that is a character type. I defined it in the table with 11 bytes character length (like hh:mm:ssA.M or P.M). On my form, I have a text box display the time that the user enters or clicks on the current time button. My problem is I don't know how just display the time in 12 hours with time format is A.M or P.M. For example, the textbox should show up 1:25:45P.M in stead of 13:25:45.
>>I tried to use an unput mask of 99:99:99A with R in the formatt property then put something int the KeyPress even of the textbox as following:
>>****************
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>
>>If not inlist(nKeyCode, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 112, 65, 80)
>>nodefault
>>endif
>>
>>****************
>>However, it didn't work like what I want.
>>I would appreciate any ideas, suggestions from the experts.
>>
>>Thanks,
>>Jenny.
Michael Helms
May the Schwartz be with you.<(©¿©)> -- Mel Brooks
"Someday, and that day may never come, you will be called upon to perform a service" -- Vito Corleone
"Live like there is no tomorrow, Dance like no one is watching, Love like you've never been hurt." -- Anonymous
"I'm thinking about joining the campaign for shorter tag lines." -- Me