|
Limit combo box and date time picker choice according to database created in folder
i creating database by month, so every month i got a database to store the data.. in my application i would like to have a combo box and date time picker to select which database i would like to display according to month and year...
how can i code my combo box with work week value and date time picker to only display database that have created in my folder?
example in combo box: in my folder i have Jan05, Feb05 and Mar05 database so my combo box only have the choice of work week 01 till work week 13 but if work week 05 dun have data in my database, work week 05 will not show in my combo box choice.
example in date time picker: in my folder i have Jan05, Feb05 and Mar05 database so my date time picker only have the choice of Jan05, Feb05 and Mar05 month calender but if 15 Jan 05 dun have data in my database, the particular date will be disabled for me to choose.
anybody can help??
|