Access - inserting a calander

L

Laura

You can use a microsoft control called: Calendar or
MonthView.
For Calendar you must make reference to component:
Microsoft Calendar Control.

Add another form to the project where you drag this
control on it. When you click the button you want to use
to see the calendar, you call up the new form with the
calendar object on it.

These controls have properties:Day, Month, Year...
from where you can get the user selection date.

monthView1.Day = 17
monthView1.Month = 9
monthView1.Year = 2003

You format the date the way is required using Format or
FormatDate function.

I hope it helps.
Laura
 

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

Top