I have an Access 2010 Navigation style form called frmNavigation.
In one of the tabs, I display a calendar form frmCalendar. On this calendar, I have various cells that have events that call DoCmd.OpenForm "frmDailySchedule", acDialog,...
When I close the frmDailySchedule dialog, I want to reload the calendar form using something like:
in the onClose event (of a button to close the dialog.)
First, I get a runtime error saying it cannot find the referenced frmCalendar, so I am probably referring to it incorrectly since it is called from within the frmNaviagion, but when trying Forms![frmNavigation]![frm
ry I get the same error.
Second, when I start by opening the calendar directly (not through the frmNavigation but open frmCalendar), I do not get the runtime error, but the frmCalendar.requery or .refresh does not update the form contents.