REPORT: Refer from header to body to show textblock not on every single page to save space

Hello

I want to show some text for each different account number (in the picture they are green) once. The text is everytime the same text (an instruction about things to keep in mind)

My provisional solution looks like this:

but this looks to me like a waste of space (in page 1 and 3).

provisionalsolution.PNG

instead of this, I want to show the text “in the header” or at least at the same height as the logo like shown here:

desired.PNG

(As is wrote: it is everytime the same text, but because it is much bigger than the logo I want it to show it only once for each different account number)

But if I put this text in the header it leads to the occurrence on every single page. And I want it to show it just for each different Account Number (in my first picture in green) and not on every page

In the NAV-Help at https://msdn.microsoft.com/de-de/library/dd301244(v=nav.80).aspx it is stated “from the header, you cannot refer to group-specific information in the body.”
so I assume, it isn’t possible to do so in the way I am looking for?

That would be regrettable.

Is it the case? If it is, is there any known workaround? That would be nice.

(here my current report layout in the report designer

)

hi ,
have you Tried like Keeping In Group Header and Hide that text box, then in Header create a text box in expression write like
ReportItems!Textboxyouhavecreatedintable.value

it works! perfect.

(but I am still wondering, why it is written in the NAV help ‘from the header, you cannot refer to group-specific information in the body’)

As Header is Static through out Report . Whereas Body Will Change Dynamically through Data From Our Database/Tables.

Is there any way to do this for pictures?

I am struggling to adapt your solution for the image/logo as well, but I don’t have a clue. The image messes the tablesize everytime up so I just can’t put it in the table - and even if I could, I wouldn’t know how to show an image in header referring to a field in the body.

Hi,
Try This
the basic is First in Onafter get record make sure the picture calculated
like Companyinfo.calcfield(picture);
Now coming to report layout. As i Suggested take separate textbox for picture which as usually hidden
in expression writelike below
= Convert.ToBase64String(Fields!picture.value)

then Now in header Take a rectangle then Insert a Image in Rectangle
in image Properties
Select Image Source As = Database
Use This Field = Convert.FromBase64String(ReportItems!PictureTextbox.value)
Use this MIME type = img/bmp