Calendar Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form that I would like to use a calendar control for. This form will
be used to track surgeries. I would like to set up a button on a form and
when you click it, have a calendar pop up. When you click a date, this will
be the start date, and then the calendar will disappear and another calendar
will pop up. When you click another date, this will be the end date and then
the calendar will disappear, and a query will pop up on the screen listing
all surgeries scheduled from the start date to the end date. Can someone
please point me in the right direction on how to accomplish this? Thanks!

Chad
 
I have gotten a lot farther thanks to the previous post. Currently, I have
the form made and click a button which brings up a calendar and click on a
date, and this date goes in a "BeginDate" text box and the calendar
disappears. I also have another button which also brings up a calendar and
you just click on a date, and this date goes in the "EndDate" text box and
the calendar disappears again. So, I have the correct "BeginDate" and the
correct "EndDate". I also have a button below these 2 text boxes that is my
"Get Schedule" button. I don't have any code for this button yet. When the
user clicks this button, I need it to look at a table in the database, and
bring up some of the fields that are listed, such as Dates of Surgery (that
are between the BeginDate and EndDate), Patient name, the Surgeon and the
procedure performed. Could someone guide me in the right direction on how to
code this button? Thanks!
 
Back
Top