Skip to Content
Former Member
Jan 14, 2013 at 12:24 AM

Need help linking shared variable to subreport paramter


I have two subreports that are displayed on my main report. The first subreport assigns a value to a shared variable from one of the fields that is returned from the subreport's stored procedure. I'm able to successfully display that shared variable value on the main report. I added a second subreport that to a section beneath the first subreport that will use the shared variable value as a parameter input. I haven't been able to get the second subreport to use the shared variable value to return any data.

Here is what I've tried so far:

Clicked "change subreport links" on the second subreport

moved the main page shared variable formula to the "fields to link to" pane.

Selected the second subreport stored procedure parameter name in the "subreport parameter field to use" section.

The checkbox to the right is greyed out.

Can anyone offer any advice on what I'm doing wrong? Is there an easier way to populate a subreport from a field that is returned in another section?

I'm using Crystal 10, thanks.