I call a Report from a Form (that provides filters for the underlying Query) which then displays an Excel Chart via a linked OLEUnbound object. The Excel Chart is updated by data from an Access Query as the Report is being “Open”ed and thus the chart changes to reflect changes in the Query data.
Sometimes, but not always, when I close the report using the Close”X” at the top right corner of the Report I get the following warning message:
[INDENT=2]”This object is locked. Any changed you make will be discard when the form is closed.
Click the File tab, point to Save As, and save the object under a different name.”[/INDENT]
I have no need to save the object, presumably the Report. If it is not the Report how can I identify the offending object?
How can I prevent this warning from appearing, regardless of the object that is triggering it?
Thanks in anticipation of a solution.
Cheers
Trevor