在Visual Studio 2005(vb.net)中使用水晶报表导出报表时需要帮助

问题描述:

大家好!当我导出一个记录很少的文件时,它运行正常。但是,如果我尝试导出具有数千条记录的数据集,则它不会执行任何操作。甚至,它没有给出任何例外。

我设置了一个"数据集"。作为"ReportDocument"的数据源。对象。
然后我用这个方法将数据集记录导出到doc文件中

crystalReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.WordForWindows," D:\InventoryResults.doc")

有人可以帮忙吗?

Hi all
when i export a file having few records, it works fine. But if i attempt to export a dataset having thousands of records, it doesn't do anything. Even, its not giving any exception.

I set a "DataSet" as a datasource of "ReportDocument" object.
Then i use this method to export the dataset records into doc file

crystalReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.WordForWindows, "D:\InventoryResults.doc")

Can anyone help?

您是否检查过您的数据集是否被DataAdapter正确填充?
Have you checked that your dataset is filled correctly by a DataAdapter??