为什么 RecordSelectionFormula 突然拒绝我的公式?
我有一个使用 Crystal Reports XI 的 VB6 应用程序。
差不多两年后,我突然无法再设置 RecordSelectionFormula
了。错误消息显示,记录选择公式中不允许使用基本语法。
公式为{article.id} = 1234
。
我已经三次检查了这个公式。它在 Crystal Reports 设计器中工作正常,但即使我保存该公式并在运行时将其更改为 {article.id} = 1235
我也会收到相同的错误消息。而且,没有理由为什么这一直有效,但突然不起作用。
谷歌搜索后,我发现一些用户有同样的问题,但由于 Crystal Reports 11 和 VB6 有点过时,除了更新到较新版本的 Crystal Reports 或 Visual Basic 之外,似乎没有人有解决方案。
I have a VB6 application using Crystal Reports XI.
After almost two years suddenly I cannot set RecordSelectionFormula
anymore. The error message says, that Basic syntax is not allowed in record selection formula.
The formula is {article.id} = 1234
.
I've tripple checked that formula. It works fine in the Crystal Reports designer, but even if I save that formula and change it at runtime to {article.id} = 1235
I get the same error message. Also there's no reason why this worked the whole time and suddenly not.
After googling I find that a few users have the same problem, but since Crystal Reports 11 and VB6 are somewhat antiquated, nobody seems to have solution, except updating to a newer versions of Crystal Reports or Visual Basic.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您现在运行的是 Vista 吗? Crystal XI 存在已知问题,并且没有补丁。但是,Crystal XI Release 2 可供 Crystal Reports XI 的现有用户免费下载,与后续服务包结合应该可以解决一些问题:
http://resources.businessobjects.com/support/additional_downloads/service_packs/crxir2.asp
还有这个,从旧 CR 知识库的 google 缓存中提取的入口 :
Are you now running on Vista? Crystal XI has known issues with it and there's no patch. However, Crystal XI Release 2 is a free download for existing users of Crystal Reports XI and combined with the subsequent service packs should solve some issues :
http://resources.businessobjects.com/support/additional_downloads/service_packs/crxir2.asp
There is also this, extracted from a google cache of an old CR knowledge base entry :