Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports nad RDC
Message
De
23/01/2002 16:47:06
 
 
À
23/01/2002 16:33:16
Robert Powell
Ascension Capitol Group, Inc.
Arlington, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00606449
Message ID:
00609341
Vues:
30
In the report designer, uncheck Files | Save Data With Report.

Then, save your report again.

>Okay. I have tried this and the report is still coming up with the data it was created from. Any ideas on what I have not done correct.
>
>Here is the code I am running:
>
>with thisform
> .oCrystalReports = createobject("CrystalRuntime.Application")
> .oReport = .oCrystalReports.OpenReport( m.pcReport )
>
> for each dbtable in .oReport.database.tables
> dbtable.setlogoninfo( "NewDSN" )
> next
>
> .oReport.ReadRecords()
>
> .addobject("oleCRViewer", "oleControl", "crViewer.crViewer")
>
> with .oleCRViewer
> * set report viewer properties
> .top = 1
> .left = 1
> .height = thisform.height - 2
> .width = thisform.width - 2
>
> .ReportSource = thisform.oReport
> .ViewReport()
> endwith
>endwith
>
>
>Thanks.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform