Report Sections

In a Report I have some sections that are printed when some conditions are true.

But even if one section is not printed, the space keeped for is used in the report layout. So sometimes I have empty spaces in my report, and this is not good.

How can I say to my report that if section condition is not true, do not keep that report section empty in finaly report layout???

thanks

Hi Luana,

I think something is missing there what you are saying… because when a section is not getting printed , it wont occupy the space on the report…!!!

So can you show me the preview of report or explain things in more detail…!!!

Maybe something is missing im my report sections propertyes.

I have pageloop footer 5, pageloop footer 6, pageloop footer 7, pageloop footer 8.

pageloop footer 5 is always printed, and then pageloop footer 6 or pageloop footer 7. If pageloop footer 6 is not printed, I have a space between pageloop footer 5 and pageloop footer 7. Why???

This doesn not hapend in Headers. Is it related with footer section?

check the property of pageloop footer 7, Place in Bottom must be No.

All pageLoop footer are with that property = NO :frowning:

Thanks

Oh, then change Keep With Next property to No, in one of my report i was facing the same problem when i was having many footers… it works for me… try for you too…!!!

With your solutions I get 4 pages for my report, and all footers are printed in different footer pages :frowning:

Thnaks any way

Great… people have same probs with different scenarios and also have different solutions…!!!

you change that property for all sections or only for pageloop footer 7???

well, i think we both should wait for expert’s review now…!!!

I think you need to use the CurrReport.SHOWOUTPUT(condition = true);

If something is not blank make it a condition and have it print. i.e. (xx > 0)

Hi, Kashyap

your assertion is only partially true - header, groupheader, transheader and body sections don’t take any space when they are not printed, but footer and groupfooter section do. I think that this is because of the fact that navision cannot tell in advance whether a footer or groupfooter section will occur, so it keeps the needed space available just in case…

And Luana is right, sometimes this may be really annoying.

A way to avoid to use footer sections, is to add a section based on the integer table just after the dataitem to which the footer section would belong, at the same level, and print your “footer” as a body section in the new dataitem…

Groupfooter section are more tricky, but something may be cooked up too. [:)]

Hi Kashyap

The problem is this happening in PageLoop footer Section. I have 4 PageLoop footer.

I have pageloop footer 5, pageloop footer 6, pageloop footer 7 and pageloop footer 8.

pageloop footer 5 is always printed, and then pageloop footer 6 or pageloop footer 7. If pageloop footer 6 is not printed, I have a space between pageloop footer 5 and pageloop footer 7. The space for pageloop footer 6 is empty on my report :frowning: