I created a report and I wanted to print it multiple copies.
I did the same thing as in report 206 ( copyLoop and PageLoop), but it doesn't work.
Who knows why please?
Thanks
Well by that description you gave there is no way to know what you have actually done.
But when you view the sections is your first section PageLoop, Header (1) for example? or is it the orginal dataitem that the report had before you modified it?
You need to do the hard work of figuring out how these things work. Run the process, use the debugger, pick apart the elements of the object and see how it works. This is something you need to learn yourself. At best you need to have a senior sit next to you and show you how stuff like this works, but you will not get to the bottom by asking these questions in an online forum.
Create an invoice with a lot of items, so there are enough of them so that the invoice will go onto more than 1 page. Then run the invoice report for that invoice and set it to 2 copies. Turn on the debugger and step through the code, one line at a time, and observe how the object works. Pay particular attention to the indentation of the dataitems and how they are filtered, and what their relationship is to the pages and copies of the report. Pay attention to the temporary variables, and how in each copy those temp variables are addressed to populate the controls of the report.
You need to do the hard work of figuring out how these things work. Run the process, use the debugger, pick apart the elements of the object and see how it works. This is something you need to learn yourself. At best you need to have a senior sit next to you and show you how stuff like this works, but you will not get to the bottom by asking these questions in an online forum.
Create an invoice with a lot of items, so there are enough of them so that the invoice will go onto more than 1 page. Then run the invoice report for that invoice and set it to 2 copies. Turn on the debugger and step through the code, one line at a time, and observe how the object works. Pay particular attention to the indentation of the dataitems and how they are filtered, and what their relationship is to the pages and copies of the report. Pay attention to the temporary variables, and how in each copy those temp variables are addressed to populate the controls of the report.
I did all what u said ( the debugger, the indentation of the dataitems).
Every thing seems to be ok, but when I run the report with a number of copy, nothing happends
Answers
But when you view the sections is your first section PageLoop, Header (1) for example? or is it the orginal dataitem that the report had before you modified it?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Create an invoice with a lot of items, so there are enough of them so that the invoice will go onto more than 1 page. Then run the invoice report for that invoice and set it to 2 copies. Turn on the debugger and step through the code, one line at a time, and observe how the object works. Pay particular attention to the indentation of the dataitems and how they are filtered, and what their relationship is to the pages and copies of the report. Pay attention to the temporary variables, and how in each copy those temp variables are addressed to populate the controls of the report.
RIS Plus, LLC
Can you tell what you did in report and what's the issue occurring :?:
I did all what u said ( the debugger, the indentation of the dataitems).
Every thing seems to be ok, but when I run the report with a number of copy, nothing happends
the copyloop and pageloop dataitem must be before the main dataitem.
RIS Plus, LLC