balajigr
March 11th, 2003, 11:26 PM
Hello,
I have shown below how i am calling the .rpt file.This works fine in the system where i create the setup of my application.
When this setup is copied and installed on a different system.
This gives me a "Query Engine Error"
Could you help me with this.
Code used....
objCrRptDoc.Load(Application.StartupPath & "\rptCallDetails.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
OR
objCrRptDoc.Load("C:\Program Files\Kshema Technologies Ltd\VeDA0.1\rptUsersDirectory.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
Both the above code didnt work for me.
-Balaji
I have shown below how i am calling the .rpt file.This works fine in the system where i create the setup of my application.
When this setup is copied and installed on a different system.
This gives me a "Query Engine Error"
Could you help me with this.
Code used....
objCrRptDoc.Load(Application.StartupPath & "\rptCallDetails.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
OR
objCrRptDoc.Load("C:\Program Files\Kshema Technologies Ltd\VeDA0.1\rptUsersDirectory.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
Both the above code didnt work for me.
-Balaji