Graphs on forms

  • Thread starter Thread starter Andi B
  • Start date Start date
A

Andi B

Greetings all,

If I have a chart on a form, which displays a graphical representation of
the data that the form is showing, is it possible to get the chart to
refresh automatically if the user alters data on the form?

I have tried using Form.Repaint, but it doesn't seem to update the graph.

Many thanks in advance of any assistance,

Regards,

Andi
 
I haven't used charts on forms, but Repaint just redraws the screen. You
might want to try Refresh for the chart object.
 
I've never seen the Form.Refresh command...


Mark M said:
I haven't used charts on forms, but Repaint just redraws the screen. You
might want to try Refresh for the chart object.
 
Andi B said:
I've never seen the Form.Refresh command...

What version of Access are you using? I've got Access 2003 and there's a
Form.Refresh, Form.Repaint and Form.Requery. In any case, I think you want
to refresh the data for the chart object, not the form itself. Try
something like Me.YourChartObjectName.Requery
 
I need my eyes tested - Form.Refresh works fine... How the hell I never
spotted it in the command list is beyond me... Thanks a lot :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top