|
-
Nov 25th, 2008, 12:52 AM
#1
Thread Starter
Hyperactive Member
[2005]Database logon problem with cyrstal report
i am getting exception error from following codes and not able to run cyrstal report i am using cyrstal report 8.5 with vs2005
Dim CaseRpt As New Crystal.CrystalReport
CaseRpt.Reset()
CaseRpt.LogOnServer("p2ssql.dll", "YOUSUF", "HospData", "sa", "hosp73")
CaseRpt.ReportFileName = "D:\HIS\FrontOffice\PtnMstSample.rpt"
CaseRpt.SelectionFormula = "{PtnMst.PtnNo}=" & IntPtnNo
CaseRpt.Destination = DestinationConstants.crptToWindow
CaseRpt.WindowState = WindowStateConstants.crptMaximized
CaseRpt.Action = 0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|