I have a sub form (SubForm1) embedded in a Tab Control on Form1. Subform1 includes a text box called Date1. When the user clicks in Date1 a Calendar form opens. When the user selects the date on the Calendar the date should be populated in Date1. Instead of that happening the following error message occurs:
Run time error 2450
Microsoft Office Access can't finf the form "SubForm1" referref to in a macro expression or Visual Basic code.
If I try this on Subform1 whilst it is not embedded in the tab control it works fine.
The code within the calendar form is:
Forms![Subform1]![Date1] = Me.Calendar.Value
Thanks in advance
C
Run time error 2450
Microsoft Office Access can't finf the form "SubForm1" referref to in a macro expression or Visual Basic code.
If I try this on Subform1 whilst it is not embedded in the tab control it works fine.
The code within the calendar form is:
Forms![Subform1]![Date1] = Me.Calendar.Value
Thanks in advance
C