简体   繁体   中英

Problem with query as a new data source in Cognos PowerPlay

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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