Crystal Report Log On Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I use the code below , I encounter the login error. But I am sure
I am using the correct login and password and I was test using Query Analyzer

Set crReport = crApp.OpenReport("C:\report1.rpt")
Call crApp.LogOnServer("P2SSQL.DLL", "(local)", "Northwind", "sa", "sa")
crReport.Database.Verify

Please tell which part I am doing wrong ..
 
Back
Top