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 ?
Just create a parameter with the same name in the sub-report and use it in your query.
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?
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
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.