fredp1, thanks for your reply. I am having problem of 'LINK' the sub-report parameter to my Oracle SP which expecting two input values. Here is what I have tried.
- When I first create the sub-report, it prompts for SP inputs, which is fine, I just provided as it asked.
- When I select the 'link' tag, a window comes up. In 'Available Fields', I see 2 static variables that I defined under main report for passing values into sub-report, when I choose 1st one, CR9 automatically creates a ?Pm-my_var in drop down 'Subreport parameter field to use:', that seems okay, then to the bottom right, there is another drop down named 'Select data in subreport based on field:', this drop down shown the name of my Oracle SP, as I drop down to what is in there, it shown me a single field underneath my SP, it is a field belongs to my cursor definition BUT it does not seem have anything to do with my SP input parameter at all. Well, I don't see how the parameter in sub-report can automatically be PASSED directly to SP ? I wish you can provide me a little more detail in steps of how can I achieve this from CR9.
Thanks