Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box with Days of Month
Message
From
25/09/2002 09:40:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/09/2002 09:28:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00704142
Message ID:
00704202
Views:
17
>Okay. Here's what I'm doing:
>
>The user selects from a combo box, the year.
>Then they select the month from a combo box which have the values January, February, etc. Once they make their selection, the day generation program that you sent me earlier that collects teh number of days in the month....
>
>Finally they are to select the day of the month.
>
>I'm trying to conver the first combo box and teh second combo box to get teh start date

The main problem is the month, for which you need a number. Just use the position in the Combo. This can be obtained in different ways; ComboBox.ListIndex seems appropriate to me.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform