[Solved] Passing a main Field to a DataSet
Posted on September 7, 2014 at 4:11pm
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 ?
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago
Posted on September 7, 2014 at 4:21pm
Just create a parameter with the same name in the sub-report and use it in your query.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
Posted on September 7, 2014 at 4:37pm
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?
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago
Posted on September 7, 2014 at 7:51pm
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
Joined: Sep 7 2014 - 3:47pm
Last seen: 7 years 10 months ago
Posted on December 31, 2015 at 1:08am
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.
Joined: Dec 28 2015 - 6:43pm
Last seen: 7 years 4 months ago