简体   繁体   English

晶体公式抑制框对象在调试时不起作用,但在发布C#和ASP.net时不起作用

[英]Crystal Formula Suppress Box Object Working While Debuging Not When Published C# & ASP.net

I have a pretty standard Suppress Formula written which works whilst i'm viewing my report in debug mode 我编写了一个非常标准的抑制公式,当我在调试模式下查看报告时可以使用

if ({DataTable.order_qty}-{DataTable.complete_qty}) > 0 then true

When I've published the report it loads fine. 当我发布报告后,它可以很好地加载。 My formula's to suppress sections or fields seem to work. 我的公式抑制部分或字段似乎有效。 however i have a box object and a line object which stop working after publish. 但是我有一个框对象和一个线对象,它们在发布后会停止工作。

The Box Object and Line Object are shown and never suppress. 框对象和线对象已显示,并且从不抑制。 I tried reversing the formula to suggest that they start suppressed and open but it seems they are ignored. 我试图逆转该公式,以建议它们开始被抑制并打开,但似乎它们被忽略了。

The server that hosts the website had Crystal Runtime 13.0.12 installed. 托管网站的服务器已安装Crystal Runtime 13.0.12。 The report was developed using reports for visual studio 13.0.19 in Visual Studio 2015. 该报表是使用Visual Studio 2015中的Visual Studio 13.0.19的报表开发的。

I proceeded to update the server addition to 13.0.19. 我着手将服务器添加到13.0.19。 I can't test this just yet as i need to reboot at a closure time. 我目前无法测试,因为我需要在关闭时重新启动。

However i don't know if that will resolve the issue so hoping that someone may have experienced this before and has a quick answer. 但是我不知道这是否可以解决问题,所以希望有人以前可能遇到过这种情况并有一个快速的答案。

What might i be missing here? 我在这里可能会错过什么?

It appears that Updating the server version to match the developers version was the correct solution. 似乎更新服务器版本以匹配开发者版本是正确的解决方案。 hopefully this will help someone else in the future. 希望这会在将来对其他人有所帮助。

Just to clarify, 只是为了澄清一下,

I updated my server version of the crystal reports runtime to match the same version as my crystal developers version for visual studio. 我更新了Crystal Reports运行时的服务器版本,使其与Visual Studio的Crystal Developer版本相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM