Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box with Days of Month
Message
From
25/09/2002 07:57:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/09/2002 07:50:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00704142
Message ID:
00704146
Views:
18
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform