Solved

Calendar Control in Visual Basic

Posted on 2007-04-03
4
153 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

740 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