ACC2: Cannot Display More Than Four Graph Objects at Once (114729)
The information in this article applies to:
This article was previously published under Q114729 SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
When you open a form or preview a report that contains more than four
Microsoft Graph version 5.0 objects, you may receive the following error
message:
Not enough memory to complete the operation on the OLE object.
NOTE: You may have been able to open the form or preview the report in
Microsoft Access version 1.x without any error messages.
CAUSE
In Microsoft Access version 2.0, displaying each unbound Graph 5.0 object
requires approximately 10% of system resources. This limits the number of
graphs that you can display at one time to three or four (the actual limit
is determined by the resources available in a particular system).
Activating a graph object in-place takes approximately 15% of the available
system resources. For performance reasons, once a graph is activated
in-place, the instance of Microsoft Graph 5.0 that was started to support
the editing remains in memory until the form is closed. This limits the
number of graphs that can be activated to three.
RESOLUTION
Limit the number of graphs on a single page to four. Reduce that number to
three in forms where in-place activation of the graphs will take place.
If the graphs are not based on data that will change, convert them to
pictures or store them in tables. More than four bitmaps or bound graphs
can be displayed on a single page. If multiple graphs overlap on a form or
report but only one is shown at a time, consider using only one graph
object and setting its row source with code each time a different set of
data is shown. For a detail description of how to do so, see the
"Workaround" section later in this article.
STATUS
This behavior no longer occurs in Microsoft Access version 7.0.
REFERENCES
Microsoft Access "User's Guide," version 2.0, Chapter 19, "Using Pictures,
Graphs, and Other Objects," pages 478-483
Modification Type: | Major | Last Reviewed: | 11/6/2000 |
---|
Keywords: | kberrmsg kbprb KB114729 |
---|
|