Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

acces2000, Crystal and VB6

Status
Not open for further replies.

Brevan

Programmer
May 13, 2002
1
BE
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top