I don't like the reportwriter in VB6, so I'm trying to use the Crystal Reports from VB5 to get some reports from an access2000 database.
It has to be something like this :
CR01.Connect = "DSN=Access 2000;UID=;PWD=;DSQ="
c:\test.mdb"
CR01.SelectionFormula = ""
CR01.ReportFileName = "c:\test.rpt"
CR01.Action = -1
The error I get (when using
Dim dblReturn as long
dblReturn = CR01.PrintReport
is 20536
Anybody an idea how to get the report.
It has to be something like this :
CR01.Connect = "DSN=Access 2000;UID=;PWD=;DSQ="
c:\test.mdb"
CR01.SelectionFormula = ""
CR01.ReportFileName = "c:\test.rpt"
CR01.Action = -1
The error I get (when using
Dim dblReturn as long
dblReturn = CR01.PrintReport
is 20536
Anybody an idea how to get the report.