Home
Designing Analytics Reports
dynamic text in page header
Migrateduser
<p>Hi,</p>
<p>I am new to BIRT as well as posting on this forum. I have been searching to figure out my question and although I am finding some answers I am still having trouble solving my problem.</p>
<p> </p>
<p>I am working with BIRT 4.6. My report consists of a list with some subreports that are also lists. The whole report is many pages long. The main list has a few groups. What I am trying to do is place in the page header a text field that will reflect the first row of a particular field in my list for each page.</p>
<p> </p>
<p>From what I have read I need to create and use a page variable for this. So in the data explorer tab under variables I created a new page variable. Then In the Master Page Header I placed a grid and inside the grid I placed an auto text variable using the variable I created in the data explorer tab.</p>
<p> </p>
<p>I realize that now I need to get and set this variable with script but I can't figure out the correct syntax to use and where exactly I place this script. I have been trying to understand how to work with variables but I can't quite understand how to make them work. Also the place where the data in my report that I want to be reflected in the page header occurs is in one of my subreport lists.</p>
<p> </p>
<p>So, can anyone help me figure this out or at least point me to where I can learn how to use a page variable in this way.</p>
<p> </p>
<p>Thanks,</p>
<p>David</p>
Find more posts tagged with
Comments
There are no comments yet