Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports Smart View
Message
De
04/05/2000 04:58:06
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/05/2000 04:33:54
Tan Aik Jin
Aranea WebLab Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00364029
Message ID:
00365987
Vues:
22
Jin,

>>This is the problemline. You instantiate the CRPE autometion server in stead of the RDC automation server. You cannot use the smartviewer with a >report object created with the CRPE automationserver.
>>If you change this into:
>> m.loCrApp = CREATEOBJECT("CrystalRuntime.application")
>> your app should run without problems.
>
>Thanks a million. It WORKS!. It finally work!!!! Just to let you know that I spend the last couple of weeks figuring out why my code does't work. Thanks again. Now, what is the diferrence between a report object created with CRPE automation and RDC (CrystalRuntime.Application)? Aren't they suppose to be same report object ?

There are two different automation server object models:
1. The CRPE object model
2. The RDC object model

The former is introduced in CR 5.0 (Though, i'm not sure) and the latter in CR 6.0 (as add on). The CRPE is a wrapper arround the CRPE32 API, the RDC is a build from the bottom up and provides even more flexibility than the CRPE am.

Development on the CRPE am server has been discontinued since CR 7.0, new enhancments are only done in the RDC am server. They are different, however they have much in common. My recommendation fow newbies to CR is to use the RDC automation server. There is a lot of valuable information about this topic to find in articles found on the seagate site, and the developers help, found in your CR directory.

>You seem to have done a lot research on CR to work in Vfp. I have searched your postings on CR in UT, and I found that you almost always reply any questions regarding CR. All those posting by you is always very valuable to those who want to use CR in Vfp. May I suggest that you do a help document or a general framework on CR ( if possible with examples and tips and traps) and post to UT in the files sections, so that anyone who is interested in CR may save them a lot of troubles searching the net for those answers. If you already have done that, could you please email me a copy?

Yep, I've done it already, however my solution is rather tight encapsulated into my framework and is in the dutch language, so it is not usable directly for another. However i'm busy to rewrite the classes I use in order to make it more portable. I'll post my solution whenever i'm finished.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform