Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array
Message
From
28/03/2001 02:06:37
 
 
To
26/03/2001 16:24:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Array
Miscellaneous
Thread ID:
00488635
Message ID:
00489331
Views:
11
Just a suggestion...
Public Array arMonths(12)
For iLoop = 0 to 11
   Store CMonth(goMonth({01/01/2000}, iLoop)) to arMonths[iLoop + 1]
Next
This will avoid spelling mistakes in your months as well! :-)
Only problem is if a different language VFP is installed on the machine that could confuse the issue.

Will
.02
>Public Array arMonths(12)
>store 'Janurary'	to arMonths(1)
>store 'Feburary' 	to arMonths(2)
>store 'March'	to arMonths(3)
>store 'April'	to arMonths(4)
>store 'May'	to arMonths(5)
>store 'June'	to arMonths(6)
>store 'July'	to arMonths(7)
>store 'August'	to arMonths(8)
>store 'September' 	to arMonths(9)
>store 'October' 	to arMonths(10)
>store 'November' 	to arMonths(11)
>store 'December' 	to arMonths(12)
>Then in the the combo properties data tab
>

Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform