Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get format string to use for InputMask?
Message
From
31/01/2005 10:15:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00982231
Message ID:
00982245
Views:
27
Nadya

Don't you just want to set the DateFormat prop of your field to whichever you want (i.e. any of the formats + more)? You don't need the inputmask.

Terry

>Hi everybody,
>
>In the Help to set date command I read:
>AMERICAN mm/dd/yy
>ANSI yy.mm.dd
>BRITISH/FRENCH dd/mm/yy
>GERMAN dd.mm.yy
>ITALIAN dd-mm-yy
>JAPAN yy/mm/dd
>
>My question is: how can I get the format string and use it for InputMask? I guess, it's not that hard using CHRTRAN() function.
>
>This seems to work:
>CHRTRAN(TRANSFORM(DATETIME()),"1234567890","9999999999")
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform