[Solved] Passing a main Field to a DataSet

Hello everyone, I already searched here and found a lot of questions like this, but they cant solve my problem.

I'm doing a cash flow report, I have to sum the entries and outings by day, for this, I create 2 DataSets, one for the total of entries and another of outings. There is the problem, to do the query correctly, it's needed a parameter (the day) and this parameter it's in the main report, how do I get the main day parameter ?

fernando_ocz's picture
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago

4 Answers:

Just create a parameter with the same name in the sub-report and use it in your query.

hozawa's picture
176403
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

I'm sorry, I didn't realize that the value of the main report that i need it's a Field, not a parameter.

If I do what you said, it's going to work?

fernando_ocz's picture
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago

I made it, the problem is that I wasn't using a Subreport.

Just for information, I follow this tutorial -> youtube.com/watch?v=xjBxpzE9N3w

 

fernando_ocz's picture
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago

but I don't want to use query. I use java code to pass and catch it. the field it ok, but when I create dataset and create field, it's always null.

socheat.student's picture
Joined: Dec 28 2015 - 6:43pm
Last seen: 7 years 4 months ago
Feedback