Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box with Days of Month
Message
De
25/09/2002 09:40:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/09/2002 09:28:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00704142
Message ID:
00704202
Vues:
18
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform