Jump to content

Returning Values from a Subreport


thangalin

Recommended Posts

Hi,

 

In The Definitive Guide to iReport, page 120 in Chapter 8 has a section on return values from subreports.

 

I would have found the section much more helpful had it walked through a simple example, step by step.

 

For example ...

 

Before you can add return values to a subreport, the containing report must have a variable the subreport can populate with the desired value.

 

In the containing report, add a variable:

 

1. Click View >> Variables

2. Click New

3. ... etc.

 

While still editing the containing report ...

 

1. Right-click on the subreport.

2. Select properties.

3. Click "Subreport (Other)" tab.

4. Click "Subreport return values" tab.

5. Click Add.

6. Type in the name of the variable added to the containing report.

7. ... etc.

 

For a great example of this style of documentation see the following:

 

Oracle® Application Development Framework

Tutorial for Forms/4GL Developers (10.1.3.1.0)

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...