Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input mask for datetime field type
Message
From
11/05/1998 18:10:43
 
 
To
11/05/1998 18:07:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098579
Message ID:
00098612
Views:
34
>>>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.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform