Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing pictures at runtime
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00817385
Message ID:
00819622
Views:
30
As a followup - the picture update during the section format apparantly fails on ANY report if the picture is not in Details A or Details B. I extended the tricial report with a couple more sections and threw in some text objects, and lo and behold, it also fails to update the image. I MUST be accessing the correct objects, because if I change anything, the section index, the reportobject index, I get an error message.

>OK, it only grows more frustrating. Over the weekend I found a copy of your book in the local Barnes & Noble and bought it. I have the code working GREAT for trivial reports, even those with more than one details section. SO I decided to try my luck with my production report which has 18 detail sections. The image is in Details 'r'. I am picking up the correct section object from the sections collection, and I have the picture object referenced from the reportobjects collection. How do I know? Because if I throw in a suspend and step through the code with the debugger, it DOES change the picture as expected. But if I remove the SUSP and let it run at full speed, no change to the picture, it continues to show the picture that was saved with the report. Sounds like timing issue to me - but I threw in a few WAIT WINDOWS to slow execution at various steps with no luck. Have you come across this issue with long reports? Report generation time is VERY short, these reports use DBF files
>(FOX2X). I am using VFP7 SP1 and CR8.0.
>
>
> Thanks,
> Randy
>
>>You have to inherit an interface to the section object and then bind to the events. You can't just do a CREATEOBJECT() on it. When the section event fires, you're code will automatically fire.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform