从现有Crystal Reports文件中检索缓存数据

时间:2021-07-23 15:40:54

Is there any way to retrieve the cached data from a previously refreshed report and say, dump it to a file? Basically, I'm looking for the dataset that is being used by the report, and hand-dragging each field onto the canvas or even exporting the file doesn't quite get me where I want.

有没有办法从以前刷新的报告中检索缓存数据,并说,将其转储到文件?基本上,我正在寻找报告正在使用的数据集,并将每个字段手动拖动到画布上,甚至导出文件并不能让我到达我想要的位置。

I'm not particular to a specific solution, be it .NET, vbscripting or even within the program itself... I'm not overly familiar with the Crystal Report object model, nor .NET, but it seems like with a setting like "EnableSaveDataWithReport", there ought to be a straightforward way.

我不是特定于一个特定的解决方案,无论是.NET,vbscripting,还是甚至在程序本身......我不是太熟悉Crystal Report对象模型,也不是.NET,但似乎有一个类似的设置“EnableSaveDataWithReport”,应该是一种直截了当的方式。

Oh, and I'm on CR 11 Pro

哦,我在CR 11 Pro上

1 个解决方案

#1


there is a setting in the file menu option to 'save data with report' and if you export that data, you will get the report formatted data (ie certain fields; formula return results, etc) however it will be only in the report object itself. what are you missing if you export that data? It seems you should see it all unless you have 'drill-down' and 'supression' enabled on certain areas.

文件菜单选项中有一个设置“使用报告保存数据”,如果导出该数据,您将获得报告格式化数据(即某些字段;公式返回结果等)但是它只会在报告对象中本身。如果您导出该数据,您会错过什么?除非您在某些区域启用“向下钻取”和“抑制”,否则您似乎应该看到这一切。

#1


there is a setting in the file menu option to 'save data with report' and if you export that data, you will get the report formatted data (ie certain fields; formula return results, etc) however it will be only in the report object itself. what are you missing if you export that data? It seems you should see it all unless you have 'drill-down' and 'supression' enabled on certain areas.

文件菜单选项中有一个设置“使用报告保存数据”,如果导出该数据,您将获得报告格式化数据(即某些字段;公式返回结果等)但是它只会在报告对象中本身。如果您导出该数据,您会错过什么?除非您在某些区域启用“向下钻取”和“抑制”,否则您似乎应该看到这一切。