Jump to content
We've recently updated our Privacy Statement, available here ×

Return value of subreport is null


mpolo91

Recommended Posts

Hi everybody,

I want to use the return value of a subreport into the master report, but the only thing that is shown is "null".  

I'd done the following:

Subreport


create variable "var_subreport" of type BigDecimal, Expression 2005, ResetType= None, IncrementType = None

Mainreport:
create variable "var_mainreport" of type BigDecimal, ResetType = None, IncrementType = None

In Mainreport in the subreport element I set up the following:

From variable: var_subreport
To Variable: var_mainreport
Calculation Type: nothing

The evaluation time of the text field that displayes the return value is set to Report.

I also want to use the value vor a subtraction. So the return value should be substracted from another value. But this also gives null.

Any hint to solve this is appreciated!



 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I change the calculation type of var_mainreport to System as descriped in the referenced topic, but it changed nothing. The return value is null, but normally 2005 should be printed.

I added the xml files. Maybe you can take a look and check whats going wrong?

 

 

 

Link to comment
Share on other sites

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...