Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get format string to use for InputMask?
Message
De
31/01/2005 10:15:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00982231
Message ID:
00982245
Vues:
23
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform