I am using Reports Builder 10g. I have one query which pulls out a key and seven OTHER queries that use that key to create seven different report sections. All queries access data in the same table.
The first query should set a key so the other seven can use that key to get data. The key changes everytime all seven queries get executed (one report page is displayed),
The first query may be running in a repeating frame.
Questions?
How do I get the seven queries to check that key. Can you have (or declare) variables in Reports Builder to which you can assign a value in each iteration and then include a check (for that value)in the where clause of other queries? If yes how would I do that?
In a programming language (or in a Stored Proc) this is simple, in a loop you pull a value from an array(or table) and pass it as a parameter to several functions(or SPs)... Can you do something similar in Reports Builder at run time? Like a local or global variable. I though a Ref cursor maybe a way but haven't found a lot of good docs on it.
Thanks
Mike
The first query should set a key so the other seven can use that key to get data. The key changes everytime all seven queries get executed (one report page is displayed),
The first query may be running in a repeating frame.
Questions?
How do I get the seven queries to check that key. Can you have (or declare) variables in Reports Builder to which you can assign a value in each iteration and then include a check (for that value)in the where clause of other queries? If yes how would I do that?
In a programming language (or in a Stored Proc) this is simple, in a loop you pull a value from an array(or table) and pass it as a parameter to several functions(or SPs)... Can you do something similar in Reports Builder at run time? Like a local or global variable. I though a Ref cursor maybe a way but haven't found a lot of good docs on it.
Thanks
Mike