sorry, I can not. the details are as following:

lilyba (lily)
本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
i use ttx/ado to build the report, for each report (main report and subreport) there is only one database. for every database, there is a field 'PersonID'.
i do not know how to build the link of database between main report and sub report. i thought the relationship are built automatically.
in the program, i open main database by "grptReport.Database.SetDataSource rstemp, , 1",
and then Set objSubReport = objSection.ReportObjects.Item(nIndex).OpenSubreport, objSubReport.Database.SetDataSource rstemp
then the following error occured:
report (main): database
run-time error '-2147417848'
method 'viewreport' of object 'ICrystalReportViewer' failed.
when i put the subreport personeducation into the report' reportheader.

I use Crystal Report the first time. So sometimes, I even do not know why the error occur. And I do not know if it is caused by Crystal Report itself since I do not install it correctly.

i have been working on this problem for 3 days. but i can not solve it. my email is bahaiyan@hotmail.com. if you do not mind would you pls tell me your phone and i can ask you in details.

Thanks again.
更多精彩文章及讨论,请光临枫下论坛. 网址: rolia.net/zh
2001-7-29 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Help. I try to use Crystal Report in VB. But this is the first time. Who has this kind of experiences?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论