Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting months to digits
Message
De
08/04/2014 00:19:49
 
 
À
07/04/2014 21:25:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598233
Message ID:
01598240
Vues:
84
mymonth = 'DEC' 
? INT((AT(mymonth,'JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC')/3)+1)
>
>mymonth = 'APR' (or any)
>WAIT WINDOW CHRtran(mymonth,'JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC','01,02,03,04,05,06,07,08,09,10,11,12')
>
>
>the above code obviously does not work. What does? thanks, Randy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform