# 请问我要如何将ADO的recordset设到crystalReport7.0呢?

Posted by sandy on September 17, 1999 at 15:56:33:

请问我要如何将ADO的recordset设到crystalReport7.0呢?
但我的recordset是client端暂存的资料,那我可以runtime时才指定吗?
那vb的引用项目(reference)需加入那些必要的项目呢?
以下是我SCR70的help档贴过来的,但我试了一下一直找不出来Report的DataBase的属性呢?请各位前辈指点一下,谢谢!!!!

ADOrs.CursorLocation = adClientSide
ADOrs.Open "SELECT * from Customer WHERE country = 'USA'", _
"DSN=Xtreme sample data;", adOpenKeyset
Report.Database.SetDataSource rs ,3,1
CRViewer1.ReportSource = Report
CRViewer1.ViewReport

Follow Ups:

- Re: 我用crystalReport5.0,请你试试看? nothing 09:34:31 9/18/99 (0)