Access 2007 Graph update problems

Troy

New member
Local time
Today, 23:49
Joined
Jun 11, 2005
Messages
7
I am using a subform and a main form. The subform contains fields which should update a graph on the main form. However I find this only works if I click on the graph. I have tried using refresh and requery on the graph itself, but nothing works. Apparently this is a common problem with this version of Access. I have the latest service pack installed also, but this has not resolved the issue.

Any ideas or code appreciated.

Thanks
 
Troy: Did you ever resolve the 'graph does not display' problem. I am having the same problem.

Robert
 
Try putting a Me.Requery on the Graph click event and then

Code:
Call MyGraph_Click

on the After_Update of the fields.
 
Gina:
Thanks. That looks as though it might work. I am not clear on 'Call MyGraph_Click' though. Do you mean substitute my graph name, as in Call Graph16_Click?
Also, my graph is on a subform, though I can put it on the main form. I have controls on another subform. Should I put Call Graph16_Click on one of those controls? Or something like Call me.parent.Graph16_click?

Robert
 
Yes that is what I meant as in your prior post I did not know the name of your graph. And, yes you are correct... I missed that whole subform thing.
 
That didn't work. I tried several options.
I notice that there seem to be two copies of the graph. When closing the form, the top one goes away and for a second displays a second copy underneath, with a different alignment.

Robert
 
Gina:
No, just one graph. But there seems to be one graph under the other. If I add the record controls to the form (next record etc), hitting the 'last record' button will display the graph, same as double clicking the graph.

Robert
 
Try putting a DoCmd.Save before the Me.Requery event in the On_Click of the Graph as it sounds like it is not saving before requerying.
 

Users who are viewing this thread

Back
Top Bottom