Hi guys, i have this typical ways of accessing my records from a database but it seems that it doesnt work. I'm always getting an error "database session failed". When I tried this code of retrieving data with any MS ACCESS Database without password, It works though.. but with password, I keep on getting that error.. Can some help me please??
-----------------------------
Dim Report As New CrystalReport1
Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub
-----------------------------
Dim Report As New CrystalReport1
Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub