Basic query : How to create a Global variable ?
Hi there,
We have a sub-report which is totalling up and we then need to pass this
total value back out ot the main report and I have been advised that we need
to use a global variable via RAP.
The only problem is that none of our developers seem to know how to do this
so.....any help please ?
Thanks in advance![:) :)](https://digital-metaphors.com/forums/resources/emoji/smile.png)
We have a sub-report which is totalling up and we then need to pass this
total value back out ot the main report and I have been advised that we need
to use a global variable via RAP.
The only problem is that none of our developers seem to know how to do this
so.....any help please ?
Thanks in advance
![:) :)](https://digital-metaphors.com/forums/resources/emoji/smile.png)
This discussion has been closed.
Comments
Paul is correct. Below is a small example of what he is talking about.
http://www.digital-metaphors.com/tips/TotalsFromSubreportWithRAP.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Was interested in seeing how the below was done, I have downloaded and
extracted the zip file, what do I need to be able to open the files
contained within?
Stuart
Inside the zip file is a Delphi project that demonstrates how to calculate a
total from a subreport inside the main report using RAP code. You should be
able to simply open the .dpr project file in Delphi and compile the
application. Note that you will need to have ReportBuilder Enterprise or
Server installed.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com