Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in Data Dynamics - ActiveReports
Message
From
09/02/2000 08:31:59
 
General information
Forum:
Visual Basic
Category:
Third party products
Miscellaneous
Thread ID:
00329162
Message ID:
00329348
Views:
18
>>>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!


Is there an event fired after each page is printed ?
Maybe you could place some code there to destroy and recreate the chart object.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Reply
Map
View

Click here to load this message in the networking platform