Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Month
Message
From
25/09/2009 07:52:27
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
25/09/2009 07:37:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Month
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01426070
Message ID:
01426086
Views:
36
>>In my form i have put one command button namely "Generatemonth". when i click this command button, name of the twelve months i.e(starting from January to December) will added in month field of my test.dbf.
>>
>>How to do this?
>
>cmonth() can give you the name of the month according to the language in which you installed Visual FoxPro (normally English). If you want another language, you better create your own user-defined function, that returns the month names. I did this for Spanish.

Hi Hilmar,

it's partialy right, at least for the development. For Runtimes it's a bit more tricky.
The language VFP returns basicaly depends on the runtime DLL you use. Somehow it decides the default dll on you lang settings.
As long as a runtime is available you might call a specific runtime at startup via the -L parameter.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform