Image in footer always shows

guidorobbenguidorobben Member Posts: 157
edited 2005-03-09 in Navision Attain
Hi,

I Have a report that has an option to put an image in the footer. Based on a value I suppress the footer with this:

CurrReport.SHOWOUTPUT(FALSE)

The strange thing is, no matter if the image is shown or not, it always print print the section. If the image is shown, then the image is printed. If not then the size of the section is printed blanco.

The problem is that it's about 3 lines the logo uses. So when I don't have a logo, this space is valueble... Is there another way to make it skip this section?

CurrReport.Skip doesn't work...

Thanx

Comments

  • andreofandreof Member Posts: 133
    Do you have another footer showing?

    if so you have to play with the property "KeepWithNext"
    Andre Fidalgo
    My world: Dynamics NAV,SQL and .NET

    CEO at Solving Dynamics
    http://www.solvingdynamics.com
  • DenSterDenSter Member Posts: 8,307
    That code should completely skip the section. Make sure you put the code in the right section, and in the OnPreSection trigger and not the OnPostSection.
  • utouto Member Posts: 36
    yep, the footer section is always shown eventhough there is nothing to show. I think you should try to use another dataitem such as integer and code for show the output by some condition such as no. = 1 or something like that. I ever faced this problem. :)
Sign In or Register to comment.