|
-
July 22nd, 2009, 01:05 AM
#1
urgent help with crviewer control
im in need of urgent help.im doing a project where i have created a report using seagate crystal reports.when i click on a command button in vbform itgoes to another form where i have placed my crviewer control.
i have written the following and i get a blank viewer when run
Dim crApp As CRAXDRT.Application
Dim Report As CRAXDRT.Report
Dim strSelectionfrm As String
Private Sub CRViewer1_CloseButtonClicked(UseDefault As Boolean)
Set crApp = New CRAXDRT.Application
Set Report = crApp.OpenReport("c:\project\rpt1.rpt")
CRViewer.ReportSource = Report
CRViewer.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
|