-
July 29th, 2002, 10:15 AM
#1
Crystal Reports
Hi,
Can someone send me few lines of code on
how to use Crystal Report Viewer Control.
I have my code pasted below which is not working.
I dont see the report.
Private Sub Form_Load()
CRViewer1.EnableExportButton = True
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "file:///C:\Documents and Settings\ishaikh\Desktop\Report2.rpt"
webSource.PromptOnRefresh = False
CRViewer1.ReportSource = webSource
CRViewer1.ViewReport
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|