Advertisement
ASP_Volume2 Miscellaneous #29929

Crystal Report Viewer for MS Access Database (Password Protected)

Crystal Report Viewer.. How to Display a report in Crystal Report Viewer (MS Access Password Protected Database)..

AI

ملخص الذكاء الاصطناعي: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

كود المصدر
original-source
Private Sub Report(ByVal rptname As String) <br>
Dim crxApplication As New CRAXDRT.Application<br>
Dim Report As CRAXDRT.Report <br>
Dim a As Integer<br>
Set Report = crxApplication.OpenReport(App.Path & rptname, 1)<br>
For a = 1 To Report.Database.Tables.Count<br>
 Report.Database.Tables(a).Location = App.Path & "\database\XXX.mdb"<br>
Report.Database.Tables(a).SetLogOnInfo App.Path & "\database\XXX.mdb", "XXX.mdb", "admin", "pwdhere"<br>
Next<br>
Set frmReport.report = Report<br>
frmReport.Show vbModal, Me <br>
End Sub<br>
التعليقات الأصلية (3)
مسترجع من Wayback Machine