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.Repor tSource = Report
CRViewer1.Visib le = True
CRViewer1.ViewR eport
Please guide me in using/without using DSN
THANKS in advance.
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.Repor tSource = Report
CRViewer1.Visib le = True
CRViewer1.ViewR eport
Please guide me in using/without using DSN
THANKS in advance.
Comment