更改未保存在Crystal Reports报表中(Changes don't get saved in Crystal Reports report)

237 IT屋

I've started using Crystal Reports recently. Have been able to create a report and mostly done with it. But suddenly I started to lose any change made inside a textbox object. I edit a textbox, save the report and close it. And then I reopen it to see that the change hasn't remained. I restart the Visual Studio and even the machine but nothing helps. I use VS 2012. Has anyone experienced anything like this?

解决方案

In fact I found the reason for the problem. This happens when I try to save the changes while the focus is on the edited object, in this case textbox. But if I click somewhere else (in order to lose focus on the edited textbox) before saving, then the problem gets solved. Happy to have found it.

我最近开始使用水晶报表。已经能够创建一个报告,大部分是用它做的。但突然,我开始失去在一个textbox对象内所做的任何更改。我编辑一个文本框,保存报表并关闭它。然后我重新打开它,看看变化没有保持。我重新启动Visual Studio,甚至机器,但没有什么帮助。我使用VS 2012.有没有人经历过这样的事情?


解决方案

其实我找到了问题的原因。当我尝试保存更改,而焦点在编辑对象(在这种情况下为文本框)时,会发生这种情况。但如果我保存之前点击别的地方(为了失去焦点在编辑的文本框),然后问题得到解决。很高兴找到了。


本文地址:IT屋 » 更改未保存在Crystal Reports报表中