Hi,
I'm making report in visual studio where a page header is supposed to be repeated on each page.
I placed the dataitems in a table in the details section, and in the page header sections i refer to the correct reportItem.
On the first page al the data in the header is shown.
On the subsequent pages however, no data is shown.
What is the problem?
I have added screenshots to this post.
thx
0
Answers
[-o<
http://www.BiloBeauty.com
http://www.autismspeaks.org
If you look at the screenshots, you can see that the page header is printed on the second page, but the data that is retrieved from objects in the detail section isnt shown.
TVision Technology Ltd
It's not really a fast way to accomplish this, but it will do the trick.
I originally created my reports using hidden textboxes, and referencing them via ReportItems! in the header, but ran into the same issue. The "Repeat With" property changes nothing apparently, and I am wondering if I need to move the textboxes into a table for all my created reports in order to support multiple pages.
I have the same problem rpeviously but now i already have the asnwer.
If you look at the standard report, in Header and Footer sections the original NAV use (Code.GetData) expressions.
This means you have to set the data with Code.SetData in each of your header / footer.
The easiest way is to search the Help Index from Visual Studio and write down Code.GetData
It stated there how to get these things work.
Hope this helps