>>I'm doing a report with Active Reports.
>>
>>My problem is that I have a MSChart in a group header and I need to read the following property «mschart.Plot.Axis(VtChAxisIdY).ValueScale.MajorDivision» to set it to the Y2 axis.
>>
>>I don't have problem for the first 2 pages but then after, I have the error 1119 (Object is uninitialized or invalid.) that bombs.
>>
>>I think this is because the report generator is asynchronous. Does somebody know how to avoid this?
>
>I had this kind of problem with AR being asynchronous.
>What I did was use a boolen property and looping 'til the report was complete before going on with a new report.
It is only one report that have a couple of pages 4-10. When the third page is generated, the error bombs!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com