trumanrus
Apr 18th, 2005, 10:45 PM
hi im using crystal with ms access with password database, my problem is login dialog persist when i run the report on my vb application, im using crystal viewer 9 and vb 6, thanks a lot!
Dim lApplication As CRAXDRT.Application
Dim lReport As CRAXDRT.Report
Dim strselection As String
Set lApplication = New CRAXDDRT.Application
Set lReport = lApplication.OpenReport(App.Path & "\TestReport.RPT", 1)
cr.ReportSource = lReport
cr.Refresh
cr.ViewReport
Dim lApplication As CRAXDRT.Application
Dim lReport As CRAXDRT.Report
Dim strselection As String
Set lApplication = New CRAXDDRT.Application
Set lReport = lApplication.OpenReport(App.Path & "\TestReport.RPT", 1)
cr.ReportSource = lReport
cr.Refresh
cr.ViewReport