Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports nad RDC
Message
From
23/01/2002 16:47:06
 
 
To
23/01/2002 16:33:16
Robert Powell
Ascension Capitol Group, Inc.
Arlington, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00606449
Message ID:
00609341
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform