asimasm:
I think the reason maybe is the misuse of crviewer's ReportSource property.
Usually we create a CRAXDRT.Report object and set it to crviewer's ReportSource to show it, when we handle another report, we usually do as:
dim Report1 as CRAXDRT.Report
...
set...
Thanks, balves.
Indeed the SetPrivateData and SetDataSource both are correct. Now I found the problem is i used a worng datasource type. When adding database to report, we must select according these option: add database to report --> active data --> ODBC(ADO), not others.
Dear balves:
I have create a Crystal Report "CrystalReport6.rpt" with the Active Data Driver, but the report data couldn't be shown , the SetDataSource method seems doesn't work, could you kindly help me?
my system: win2000, crystal report 7.0, vb 6.0
thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.