Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Subreport Object Path
Message
From
16/01/2004 10:07:32
Walter Meester
HoogkarspelNetherlands
 
 
To
16/01/2004 09:43:23
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00866961
Message ID:
00867480
Views:
28
Hi Ray,

>>You can open the subreport witht the opensubreport() method. This will give you a reference to a report object, which you can use in the same way to set the database location.

I'm sorry I did not read the thread correctly, I'm just left with a 9 hour yet-lag, so I'm not at my best right now.

As fot changeing the comapny logo: We've accomplished that one to dynamically change the picture at runtime so you don't have to reimport anything. You need to capture format events of the reports and change the location of the picture dynamically. AFAIK, you can only do this by referencing a path to the picture. Pictures embedded in general fields are not supported.

I wrote some code to handle this in my personal CR classes, in Re: Saving picture and using Crystal Reports Thread #688256 Message #688504 you can see how it globally works






>When I programmatically call the ReImportSubreport method, it does the same thing, so the results will be the same--works here, not at customer site. I tried calling the Section.DeleteObject method followed by a Section.AddSubreportObject method, but then I get a message that it requires licensing. Meaning I can only use that technique at customer sites where every single machine has an RDC runtime license, at $199 per pop. Again, not good.
>
>Requiring a Crystal RDC runtime license on every machine just to view a report isn't a practical solution. The point being, that once the subreport is opened, I can't find any property that defines this hard-coded path, therefore can't figure out a way to change it on-the-fly.
>
>Unless I'm missing something obvious here?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform