xml如何生成水晶报表
我的水晶报表工作在PUSH模式下,将DataSource.xml文件作为数据源,
导入到Empty.rpt这个空白报表模板中去
请问代码怎么写?
[解决办法]
m_Report = m_Application->OpenReport(ReportPath, dummy);
IDatabasePtr pDB=m_Report->Database;
pDB->Tables->Item[1]->Location=_bstr_t(strFileXml);
------------------------------
m_Report, pDB, pDB->Tables,这些值都正常吗?Item[1]取第二项?