How do I make a drop down combo box that should bring me up a calendar to select a date? and I should be able to select the date and this date should be field in the drop down box
I created a calender that does exactly what you are asking for. It does not however work with a combo box. It is fired from a button. It pops up either a small, or large calender form (you specify in code), and the user simply clicks on the date they want, and a text field next to the button is populated with the date they selected (just two clicks if they choose a date in the current month). You can scroll to any date past or future. You can also default the pop up calendar to default back or forward any given amount of months. Let's say in one particular date, you are looking at something 3 months in the future. No problem, in the Sub call you simply specify how many months, and you're done. I call it a Return Date Calendar.
It also does time as well. There are examples of both.
I have a copy of it if you are interested. E-mail me, and I will send it to you. Jim Lunde
compugeeks@hotmail.com
Custom Application Development
The Access calendar control doesn't drop down from a combobox and would probably take quite a bit of code to get it to work in the situation. Visual Basic 6.0 comes with DTPicker ActiveX control that is exactly what you need. If you possibly have it on your system it could provide you with the exact control you need.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.