create crystal report with vb6?
create crystal report with vb6?
(OP)
Hi, i want to create an rpt-file with vb6. i have a ado-recordset. Could somebody show me a very easy example??? I've tryid so many things, but nothing works.
Thanks!
Thanks!
RE: create crystal report with vb6?
http://support.crystaldecisions.com/communityCS/Technic...
It may not be working because of your version of CR, at bare minimum when posting in a technical forum, state the version of the product you're using for that forum.
-k
RE: create crystal report with vb6?
next add the crystal report designed ocx to your project, set the database to the TTX as a data definition file so that you can design your report.
then in the section of code to display the report form (Copied from Crystal Report tech support)
Dim CrAppl as Craxdrt.Application
Dim Crrep as craxdrt.report
dim Adors as adodb.recordset
adors.open "blah blah blah" for data source
set crrep = crappl.openreport "report file name.rpt"
crrep.database.tables(1).setdatasource adors,3
crviewer1.reportsource = crrep
crviewer1.viewreport
uhh...did i say that?
Woody