hellovishal101
June 3rd, 2010, 02:17 AM
Hai Mr. K. Babu
i m using vb6,oracle and crystal report
this is my code:
Cr1.ReportFileName = App.Path & "\REPORTS\" & reportname
Cr1.Destination = crptToWindow
Cr1.WindowState = crptMaximized
Cr1.Connect = "DSN=nbcfdc;UID=nbcfdc;PWD=cdac;DSQ=MBit"
Cr1.DiscardSavedData = True
Cr1.Action = 1
i have tried cr1.logoninfo too but still the same error :
"20599 Cannot open SQL server."
pls help me.
thax.
i m using vb6,oracle and crystal report
this is my code:
Cr1.ReportFileName = App.Path & "\REPORTS\" & reportname
Cr1.Destination = crptToWindow
Cr1.WindowState = crptMaximized
Cr1.Connect = "DSN=nbcfdc;UID=nbcfdc;PWD=cdac;DSQ=MBit"
Cr1.DiscardSavedData = True
Cr1.Action = 1
i have tried cr1.logoninfo too but still the same error :
"20599 Cannot open SQL server."
pls help me.
thax.