getting a aalendar to control date record

G

glen

Access 2003.

I want to be able to use a calendar to select a date record. I have a field
on the form called "adate" that I would like the calendar to control. When I
select a date on the calendar I want the "adate" to change to the selected
date.
 
W

Wayne-I-M

Use the AfterUpdate event of the calender to set the vaule of your [adate]

Private Sub CalendarName_Updated(Code As Integer)
Me.adate = Me.CalendarName
End Sub
 

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