首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

xml怎么生成水晶报表

2012-03-09 
xml如何生成水晶报表我的水晶报表工作在PUSH模式下,将DataSource.xml文件作为数据源,导入到Empty.rpt这个

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]取第二项?

热点排行