DavidAtWork
Registered User.
- Local time
- Today, 11:11
- Joined
- Oct 25, 2011
- Messages
- 699
I have a graph inserted on a Page on a tab control. If I am on the main Page and select the graph page, the graph shows the correct data for that record, but if I remain on the graph page and use the naivigation buttons to move to next or previous, the graph just disappears and doesn't refresh.
I've tried all sorts of coding in the OnCurrent event, but to no avail. Methods I've tried after establishing that the graph page is the active page are mostly around the
Forms!frmMain.Graph1.Requery
the code executes but the graph doesn't refresh until you select another page and return to the graph page, you can click on the graph and then click on another control and the graph refreshes and I've tried to replicate these actions by using the .SetFocus method, but it doesn't work
Anyone had this problem.
I'm using Access 2003 (still on only 2003 groan) with Win 7
The graph is sourced using the query builder and the recordID criteria is pointing to the current recordID
I guess I could use a workaround and while on the graph page, hide the navigation buttons forcing the user to select a different page to make the navigation buttons to become visible again, but that doesn't seem a very user friendly solution
David
I've tried all sorts of coding in the OnCurrent event, but to no avail. Methods I've tried after establishing that the graph page is the active page are mostly around the
Forms!frmMain.Graph1.Requery
the code executes but the graph doesn't refresh until you select another page and return to the graph page, you can click on the graph and then click on another control and the graph refreshes and I've tried to replicate these actions by using the .SetFocus method, but it doesn't work
Anyone had this problem.
I'm using Access 2003 (still on only 2003 groan) with Win 7
The graph is sourced using the query builder and the recordID criteria is pointing to the current recordID
I guess I could use a workaround and while on the graph page, hide the navigation buttons forcing the user to select a different page to make the navigation buttons to become visible again, but that doesn't seem a very user friendly solution
David