Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement