Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Report
Message
 
To
21/05/2001 09:01:06
General information
Forum:
Visual Basic
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00509404
Message ID:
00509413
Views:
17
>What is th way to pass a recordset to a crystal report report to print?

I use something like this:
        'Open report
        Set objCR = CreateObject("Crystal.CRPE.Application")
        Set gReport = objCR.OpenReport(gReportPath & "rptSales.rpt")
        Set rptDB = gReport.Database
        Set rptTables = rptDB.Tables
        Set rptTable = rptTables.Item(1)
        rptTable.SetPrivateData 3, rstData
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform