Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Use CRViewer To Preview my Reports
Message
De
16/01/2003 09:33:30
 
 
À
16/01/2003 02:46:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00742258
Message ID:
00742346
Vues:
15
>How Can i use Crystal Viewer(CRViewer) to view my reports through VFP7.0?
>
>What Are the Stepts in order to use it?
>
>What Commands Should i include in my code ?
>
>Tnx

First you need to drop CR Viewer on a form.

Assume a reference to the Viewer object is oForm.Viewer you would do something like this...

SYS(2333, 1)
oCry = createobj('CrystalRuntime.Application')
oReport = oCry.OpenReport('reportform.rpt')
oForm.Viewer.ReportSource = oReport
oForm.Viewer.ViewReport()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform