Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does CMonth() function is sensitive to something??
Message
 
 
À
08/09/2002 19:01:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00697978
Message ID:
00698099
Vues:
22
Hilmar,

It can still be done with one line in earlier versions.
return alltrim( substr( "           January  February March    April    May      June     July     August   SeptemberOctober  November December ", tnMonth*9, 9 ) )
>Yes, this is neat. Unfortunately, I don't have VFP7 yet. Of course, this can also be done with FoxTools.

Hilmar.
>
>>Hilmar,
>>
>>or the one line VFP7 version :)
>>
>>
>>FUNCTION MyMonthName(tnMonth)
>>
>>RETURN GETWORDNUM("January,February,March,April,May,June,July,August,September,October,November,December", tnMonth, ",")
>>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform