Help with scripting simple PowerPlay action -
06-26-2006
, 11:11 AM
I have been writing my first CognosScript macro for over a week now.
The stumbling block I have run into, that I have not been able to
answer from any source, including the Cognos Web site, Knowledge Base,
this and other newsgroups, sample macros included with PowerPlay, and
the guy I report to at work.
So maybe someone here can answer this.
All I want to do is, with an open report, is long-bar drop into the
first column of a report, the child category. The report is already
open to the first child of a dimension. I just want to have the next
level down from the first child, nest within that first child, on the
second level down from the dimension.
I have been struggling with both the AddLevels method, and within the
ReportQueries method, the FindQuery, AdvancedQuery, and ParentageQuery
objects.
Why can't I get the script to work?
Already looked in the cookbooks.
Any help?
Thanks, Evan |