Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask for a date needed
Message
From
02/12/1999 14:48:21
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00298062
Message ID:
00298093
Views:
14
>>>>Here is the problem. I want to give the possibility to my users to ender a date without specifying the dashes or slashed in a date.
>>>>I guess that the ImputMask for that would look like this "99/99/9999"
>
>>>In the init method, put THIS.VALUE = {} (or some other date).
>>
>>Here is what I did. InputMask = { / / }
>
>I never use that... Does it work with all date formats and with century on and off?
>
>Seems to me that an inputmask is not necessary, just set the initial value, and no worries.

Maybe if you set the initial value like you say. I don't set the initial value for the date and the user don't want to enter the slashes or dashes. At this point I have to use an input mask. an InputMask of 99/99/99 does'nt let you enter a century.

{ / / } lets me enter the century if I want to enter it. I would say that it works with all date formats because I just tested it with dates in the following formats: DMY and YMD and it worked well.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform