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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calender Control 8.0

Status
Not open for further replies.

VBVines

MIS
Jun 11, 1999
98
US
Has anyone done anything cool with the calender control or know where I could look to get some ideas. Ideally I would like to have the calender control and a text box on a form so that when I click on a date on the calender the text in the text box changes. For example on a tuesday a list of five people populates the text box and then when you click on wednesday maybe a completly different list is in the text box. Is that possible? aspvbwannab
 
Hi,

I assume you meant a listbox and not a textbox. You have to create a listbox based upon an sql statement with a parameter representing a date. The date parameter will be supplied by the value property of the calendar control.
In the calendar control's click event you can requery the listbox.This assumes that you already have established a relationship between the people and the days of the week in your underlying tables.

Have a good one!
BK
 
Attention : you Can't the Calender control distributed !!!

you most take the Microsoft Controls 2-6 (Sp4) and then the Monthview Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX.

Download Demo version on my Site:
Promotions before 02/28/2001 (free source codebook),visite my site
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top