Print entire graph in an Access report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Although the entire graph shows on the screen when the report is run only the
title and a text box are actually printed. In report design view the graph
shows only a chart area with the title. No plot area is displayed. The
datasheet view is also empty.


....JBo
 
JBo:

Try adding the following code to the section of your report that contains
the graph object:

On Error Resume Next
Dim objGraph As Object
Set objGraph = Me!TheNameOfYourGraph.Object
objGraph.Refresh
objGraph.Application.Update
DoEvents
Set objGraph = Nothing
 
SA,
Since I'm somewhat inexperienced in Access I ended up putting your code in a
couple of different areas. There was no change, regardless of where I put
the code. Does this mean that Access doesn't define this as an error
situation? Could the error be in the MS-Graph generation of the graph that's
in the report?
 
Back
Top