[Solved] Passing a main Field to a DataSet

0

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: 3 years 8 months ago

4 Answers:

0

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

hozawa's picture
40713
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 hour 3 min ago
0

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: 3 years 8 months ago
0

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: 3 years 8 months ago
0

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: 3 years 3 months ago
Feedback