Calendar Question

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

Guest

Hi, Maybe you have some suggestions for me. I am creating a database that
will have one entry for most dates. Is it possible to show which days have
been entered on the Calendar control that comes with Access?

Any suggestions would be greatly appreciated.

Thanks
Harv
 
This is complicated but will work very slick ---

Create a custom collection to store the dates that have been entered. At
each click on the calendar, iterate through the collection to see if it has
already been selected.
 
Not sure that is what I'm looking for. Is is possible to change how the
calendar looks so the user would know at a glance which dates have been
entered. Any information is appreciated.

Thanks
Harv
 
No! The days on the calendar control are mutually exclusive. When you click
any day, the previously "marked" day becomes unmarked. Look around for
another calendar control that is not ActiveX. Stephen Lebans at lebans.com
has a Month View Calendar and Getz has one in the Access Developers
Handbook. These are opensource code calendar controls and you can reprogram
them to do what you want.

BTW, with the previously selected dates stored in a collection, you could
have a listbox on your calendar form to see a list of the previously
selected dates.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top