Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading CR ActiveX Control is Slow
Message
De
09/05/2000 05:34:53
Walter Meester
HoogkarspelPays-Bas
 
 
À
08/05/2000 11:10:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00367259
Message ID:
00367524
Vues:
14
Antonio,

>I am using Crystal Reports 7.0 to generate VFP reports in my application. For that purpose I am using Crystal Report´s activeX control embedded in my forms. The bad news is that CR´s activeX control takes some time to load, delaying the display of the forms that use it.
>
>Does anyone have a suggestion of how to optimize the loading time ?

I don't use the ActiveX control, because the automation server provides much more control, but the folowing trick might be usable for you:

Drop the activeX control on an form (in my case: an applic form) which is invisible during runtime (put a NODEFAULT in the show event). Whenever you need a CR report, reference the activeX control on this invisible form like:
WITH Applic.CrReportControl
     .reportname =  ...
     .action = ....
ENDWITH
This way the activecontrol is loaded only once and doesn't hurt displaying performance of forms which wants to reference a report.

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

Click here to load this message in the networking platform