Hello,
I m using Crystal Report 8.5 with VB. I have created a report in CR 8.5 and make its .DSR in VB.
Wehn i created that report the database path was E:\Project
I have copy that project to F:\Project.

My report shows that what it get from E:\Project instead of F:\Project

How to change the the Database path of Report at runtime.

I m using the following code to show report:

Dim Report As New CrAcList
Dim Db As New ADODB.Connection
Dim Rs As New ADODB.Recordset

Set Db = New ADODB.Connection
Db.ConnectionString = Conn
Db.Open

Set Rs = New ADODB.Recordset
Rs.Open "Select * from Tbl_Accounts ", Db, adOpenDynamic, adLockOptimistic

Report.Database.SetDataSource Rs

CRViewer1.ReportSource = Report

CRViewer1.EnableRefreshButton = True
Report.DiscardSavedData
CRViewer1.ViewReport


please help me
Farooq