Hi all,
I am having trouble refreshing a series of graphs in my Access 2007 application. Here’s the story:
I have five graphs on a Main Menu form, they are in five subforms. The user opens a Complaint form to enter information that these 5 graphs track. I would like the graphs to update when this form is closed and the user returns to the main menu.
I am actually having 2 problems: when to do the refresh and what the syntax is to get it done. Here’s what I’ve tried:
On the Main form’s Got Focus and Activate events –neither worked, also tried this behind a command button’s click event (on the Main Menu form), which did not work.
and
on closing the Complaints form –did not work.
Refreshing subform information has always been hard for me to keep straight. I have used some past posts in the forum successfully and thought I had this problem under control until I put charts in the subforms!
Any help you can give me will be greatly appreciated.
LM
I am having trouble refreshing a series of graphs in my Access 2007 application. Here’s the story:
I have five graphs on a Main Menu form, they are in five subforms. The user opens a Complaint form to enter information that these 5 graphs track. I would like the graphs to update when this form is closed and the user returns to the main menu.
I am actually having 2 problems: when to do the refresh and what the syntax is to get it done. Here’s what I’ve tried:
Code:
Me!frmYearlyTransportationStatsPieChart.Requery
and
Code:
Forms!frmMainMenu!frmYearlyTransportationStatsPieChart.Requery
Refreshing subform information has always been hard for me to keep straight. I have used some past posts in the forum successfully and thought I had this problem under control until I put charts in the subforms!
Any help you can give me will be greatly appreciated.
LM