Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box with Days of Month
Message
De
25/09/2002 07:57:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/09/2002 07:50:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00704142
Message ID:
00704146
Vues:
19
>I need to be able to have a combo box populated with teh days in a month based off the month the user selects.

So what is the problem, getting the last day of the month?
ldStartDate = date(lnYear, lnMonth, 1)
ldEndDate = gomonth(ldStartDate, 1) - 1
lnDaysInMonth = ldEndDate - ldStartDate
for i = 1 to lnDaysInMonth
  * Populate Combo here
next
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