Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I get a calendar in a dropdown box to select the date? 3

Status
Not open for further replies.

eli101

IS-IT--Management
Feb 1, 2001
54
US
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
 
Have you tried the active X calander control that comes with access ? Depending on your installation, you may have to go back and add it.

Dave
gallagherd1@rcn.com
 
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.

Steve King
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top