Hi Perry,
I think that you're missing the "Form" reference...
Try :
Forms![MainForm].[Subform].Form![DateField] = MyCalendar.Value
or even:
Me![Subform].Form![DateField]
PerryC <pe******@yahoo.com> wrote in message
news:ea**************************@posting.google.c om...
How to pass a MS Calendar Control Calendar Value into a subform within
the main form?
Private Sub MyCalendar_AfterUpdate()
Forms![MainForm].[Subform].[DateField] = MyCalendar.Value
End Sub
This does not seem to work? Please advice.
PC