Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Word and VFP
Message
De
06/07/2000 02:48:45
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00379874
Message ID:
00388726
Vues:
10
Hi bharat,

>using this code, I can export. however, I would like to preview. I wanted to look at the object model but when I go into VisualBasic Object Browser, I do not see a "CrystralRuntime" library (this is the name of the app. in the CreateObj function), even after I chose all the Crystal libraries in Project->References and Project->components.

The RDC automation controler itself does not provide any means for previewing. However you can pass the report object to the Smartviewer activeX control. This control gives you all the things you need to control your preview window at runtime:

THISFORM.CrViewer.ReportSource = THISFORM.CrRDCEngine.Report
THISFORM.CrViewer.Viewreport()

B.T.W. you can resize the smartviewer control in order to have it as large as the form it is sitting on.

Good luck.

Walter,

>Where would I find the list of properties, their values and methods for this ?
>thanks
>Bharat
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform