|
-
Apr 10th, 2008, 07:03 AM
#1
Thread Starter
Junior Member
DSN Using in VB6.0 with CR10
Hi,
Im using VB6.0, Crystal report 10 and MSaccess Database. I was using Crystal report 6 and later upgraded to CR10. In VB6 i used DSN like
.Connect = "DSN=DBName" & ";UID=admin;PWD=;"
Now in CR10 i have created reports without using DSN in VB. Can any help how to use DSN in VB6.0 with CR10 or is there any method so that i no need to use DSN in the above said requirements.
The code used for CR10 is
Set Report = Appl.OpenReport(App.Path & "\SampleReport.rpt")
CRViewer1.ReportSource = Report
CRViewer1.Visible = True
CRViewer1.ViewReport
Please guide me in using/without using DSN
THANKS in advance.
Last edited by kselvakumar_82; Apr 10th, 2008 at 07:06 AM.
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
|