Calendar Control Question

  • Thread starter Thread starter JamesJ
  • Start date Start date
J

JamesJ

What would be the best way to accomplish this?
I want to display 2 Calendar Controls on my form with one
displaying the current month and the other the next month.

Any help will be appreciated,
James
 
If all you need is to dispaly the current and next months without day, then
you'll have to create a custom form. Using the DateAdd function youu can
easily determine the next month in vba.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.com/index.php
Please rate this post using the vote buttons if it was helpful.
 
I've put the Calendar Control on the form but I'm not sure how to have the
control display the next month:

Me.ctlCalNextMonth.Value = NextMonth

This doesn't work obiviously.
Not sure how to use the DataSAdd function
Some hints please.

James
 
Got it to work. To get the Calendar Control to display
next month is simply:

Me!ctlCalNextMonth.NextMonth

Thanks,
James
 

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