Solved

Calendar Control in Visual Basic

Posted on 2007-04-03
4
159 Views
Last Modified: 2010-04-30
Hello all, I am writing a program in visual basic 6 which is to be an appointment booking system for a salon. I want to use Calendar Control so the user can click on a date and all appointments for that date will be displayed in text boxes to the side of the calendar and then a button by each of these texts boxes will bring up a detailed description of the appointment. I have already created the databases and the layout but am finding it hard to find any  information on Calendar Control. Any help would be much appreciated...
0
Comment
Question by:Mrdogkick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18843401
What exactly are you looking for?
Sample code?

You'll want to use the DatePicker.Value for your query

strSQL="Select * From TableName Where ApptDate=#" & DatePicker.Value & "#;"

for example...

0
 

Author Comment

by:Mrdogkick
ID: 18843475
First of all I need to know how to assign an appointment from my 'appointment' table to a specific date on the calendar...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18843650
Not sure I follow that...
If you've saved appointments to your database - to retrieve them - you would initiate a database query using the appointment date (datepicker.value) as your parameter...
How are you saving to the database now?
0
 

Author Comment

by:Mrdogkick
ID: 18843841
I havent started the programming yet so have just entered a record straight into the table...The thing is there are multiple appointment slots for each day (half hour slots) and i want to be able to click on each slot to view the details.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question