Hi, i'm trying to get a variable calculated in a subreport. The problem is that the variable in the main report is filled before the subreport is generated, so I have this values: In the subreport: 1, 2, 3... but in the main report I have null, 1, 2... How can I resolve this? Thanks