by sreeattan (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)
Crystal Report Viewer.. How to Display a report in Crystal Report Viewer (MS Access Password Protected Database)..
Private Sub Report(ByVal rptname As String)
Dim crxApplication As New CRAXDRT.Application
Dim Report As CRAXDRT.Report
Dim a As Integer
Set Report = crxApplication.OpenReport(App.Path & rptname, 1)
For a = 1 To Report.Database.Tables.Count
Report.Database.Tables(a).Location = App.Path & "\database\XXX.mdb"
Report.Database.Tables(a).SetLogOnInfo App.Path & "\database\XXX.mdb", "XXX.mdb", "admin", "pwdhere"
Next
Set frmReport.report = Report
frmReport.Show vbModal, Me
End Sub
No comments have been posted about Crystal Report Viewer for MS Access Database (Password Protected). Why not be the first to post a comment about Crystal Report Viewer for MS Access Database (Password Protected).