Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports: How do I preview a report in an MDI win
Message
From
15/10/1997 01:58:54
 
 
To
14/10/1997 11:21:27
Brian Hartin
Custom Business Solutions
Iowa City, Iowa, United States
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00054457
Message ID:
00054630
Views:
32
>Does anyone know how to preview a report in an MDI child window through VB code? The CR help file explains how to do it but it doesn't seem to work when I try it.
>
>BTW I'm using VB 5 and CR 4.6.1
>
>Thanls,
>Brian Hartin
>MCI Telecommunications
>Brian.Hartin@MCI.Com

Hi Brian,
To work out this, I suppose that you have your report ready. Place a crystal report control on your form and set the properties reportfilename to you .rpt file. To call this report from the form, place a command button and in the code write
crystalreport.selectionformula = ""
crystalreport.action = 1
Make sure your Reportsource property is set to Report File. And I assume that you have made your report with a MS Access database.
This will get you your report in a window.

Manika
Previous
Reply
Map
View

Click here to load this message in the networking platform