General information
Category:
Coding, syntax & commands
>>>>>Can anyone tell me how to format a date time field in the inputmask so the user doesn't have to enter seconds in the time value?
>>>>>
>>>>>Thanks!
>>>>>
>>>>>Sylvia
>>>>
>>>>Why are they entering a datetime? That notwithstanding, why not default the value to current datetime and then allow them to change that?
>>>
>>>I want to use the value to set dates and times for events for a conference program I'm writing, e.g. 10/10/98 9:00 A.M. The events will be in a lookup table so that we can print an agenda for people attending the conference.
>>
>>And you want this as 1 field I'm assuming.....ok, here goes.
>>
>>Personally, I'd make them separate data entry fields and build the 'datetime' field. Then it really won't matter, Fox will fill in :00 for the seconds.
>
>
>SET SECONDS OFF should help. Note that this one is scoped to the current data session so it goes in your form load or somewhere similar.
>
>Bob
Thanks, this is what I was looking for. I certainly want to use some of the more interesting combos and classes available to do this, but am in a 'time' crunch right now.
Sylvia
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only