我在一个FORM中放了RvProjec1,RvDataSetConnect1,ADOConnection1,AdoStoredProc1,和一个BUTTON,AdoStoredProc1是和数据库的一个存储过程连接,AdoStoredProc1的Connection 是连接ADOConnection1,RvDataSetConnect1的DataSet 是连接AdoStoredProc1,
用RAVE作了一张报表report1,DataBand中放了一个DataText,是通过dataview1 连接RvDataSetConnect1,DataBand中的dataView是连接dataview1 ,DataText的dataView是连接dataview1 ,DataText的DataField 连接dataview1 中的一个字段。
我在BUTTON的CLICKD中调用report1,但不知道为什么报表中看不到数据。
我有在FORM中放上一个DBGRID,DBGRID中可以显示出AdoStoredProc1的数据。
请问我在为什么报表中看不到数据。是不是上面的连接有错呢?