在 Cognos PowerPlay 中查询作为新数据源时出现问题

发布于 2024-09-24 03:08:27 字数 231 浏览 0 评论 0原文

通常,您可以在 Cognos PowerPlay 中将查询添加为新数据源(我正在运行 PowerPlay 版本 7.3),但当我尝试这样做时,我无法从 Access 数据库中选择任何查询。通常显示数据库中现有查询的下拉菜单是空的。当我添加一个表作为新数据源时,它工作正常,并且所有表都显示在下拉列表中。

以前它对于查询也可以很好地工作,但现在它不起作用了。 有谁知道这是 Cognos 错误还是我电脑上的某些系统配置导致出现此错误?

Normally you can add a query as a new data source in Cognos PowerPlay (I'm running PowerPlay version 7.3), but when I try to do so I cannot select any queries from my Access database. The dropdown menu which normally shows the existing queries in the database is empty. When I add a table as a new data source it works fine, and all the tables are shown in the dropdown.

Previously it worked fine for queries too, but now it won't work.
Does anybody know if it's a Cognos error or some system configuration on my pc that causes this error to appear?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无声无音无过去 2024-10-01 03:08:27

我没有找到我的问题的任何答案,但我确实为这个问题想出了一个解决方案。

诀窍是创建一个新的 MS Access 数据库(FX 称为 WorkAroundDatabase),然后创建一个与母数据库中的原始查询同名的查询(您想要首先添加为数据源的查询的名称) )。

然后,您首先创建一个链接到 WorkAroundDatabase 中的查询的新数据源。
其次,右键单击数据源并将路径更改为母数据库。由于查询的名称相同,数据源现在链接到母数据库中的查询(这正是您想要的,但由于 Cognos Powerplay 错误,byt 无法直接执行)。

此过程在 Cognos PowerPlay 中运行得很好,尽管它没有对 Cognos PowerPlay 中的原始错误给出任何解释。

I didn't find any answers to my question, but I did come up with a workaround solution for this problem.

The trick is to create a new MS Access database (fx called WorkAroundDatabase) and then create a query that has the same name as the original query in the mother database (the name of the query you wanted to add as data source in the first place).

Then you first create a new data source that links to the query in the WorkAroundDatabase.
Secondly you right-click on the data source and change the path to the mother database. Since the names of the queries are the same the data source now links to the query in the mother database (which was what you wanted, byt couldn't do directly because of the Cognos Powerplay bug).

This procedure works just fine in Cognos PowerPlay, even though it doesn't give any explanations on the original error in Cognos PowerPlay.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文