Cognos 8.3 将样式变量添加到表格单元格
我似乎无法根据查询中的数据项添加样式变量到表中的单元格。请注意,这只是一个常规表,而不是像列表等那样的数据容器。
I can't seem to add Style Variable based on a data item from a query to a cell in a table. Note though that this is just a regular table not a data container like a list etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在尝试为您找到答案,但我认为 COGNOS 有一个错误。我创建了一个布尔变量并将样式应用于列表报告,一切都运行顺利。当我尝试将样式变量应用于表格单元格时,它出现了变量错误。
我在这里进行了一些猜测,但我认为当您创建引用查询的变量时,样式变量只能应用于与同一查询关联的对象。这就是为什么列表报表可能在表格单元格不起作用的情况下起作用。我也没有看到任何其他这方面的信息。
编辑:您可以在表格单元格中使用单例吗?那会有帮助的。不过,我不确定它们是否在 8.3 中可用。
I was in the process of trying to get an answer for you on this, but I think there is a bug with COGNOS. I created a boolean variable and applied a style to a list report, and everything ran swimmingly. As soon as I tried to apply a style variable to the table cell, it errored out with a variable error.
I'm taking a bit of a guess here, but I think that when you're creating a variable that references a query, the style variables can only be applied to objects which are associated with that same query. That's why a list report might work where a table cell wouldn't. I haven't seen any other information on this either.
Edit: Could you use a singleton within a table cell? That would help. I'm not sure that they are available in 8.3, though.