Good morning,
so I've never done very well with the reportbuilder but I work in a softhouse and one of my functions is to develop reports on report-builder
.
I am making a purchase report where I have a subreport with a variable1.value. this variable receives the following information:
variable1.value := vlpedido;
vlpedido := qtdepedida * vlcusto;
that is, it gives me the total value of the products.
However, the result of this result has to appear totaled in the main report, so I added variable2.value
, and I thought the following reasoning.
variable2.value := vltotalpedido;
vltotalpedido := vlpedido + vlpedido;
but this way it keeps coming down. What am I doing wrong?