Company Logo moves on second page

ebsoftebsoft Member Posts: 81
edited 2014-02-06 in NAV Three Tier
I'm getting crazy!
on the report header I have a textbox with report title on the left, and the picturebox with company logo on the right.
I set visibility option on the report title textbox to hide it if page number is > 1.
The result is that the Company Logo moves to the left on page > 1, when the report title is hidden.
How to avoid this behaviour? How can I force the logo to stay on the right?

Thanks in advance for your help.
Regards,
Federico

MBS Specialist since NAV 2.0
My experiences on Linkedin

Comments

  • rico1931rico1931 Member Posts: 295
    Take a screen shot of the studio you are designing in... Also sometimes in the Sales & Receivables Setup menu the Logo setting could be screwing with your code.. try turning that off if you are embedding the logo in the RTC report.
    -rico1931
  • ebsoftebsoft Member Posts: 81
    The report is not a standard one, no. 50057.
    attached is the report layout, with header and footer sections.
    The Logo Position on the sales&rec. setup is set to "No Logo", but even if I set "Left" nothing changes.
    Regards,
    Federico

    MBS Specialist since NAV 2.0
    My experiences on Linkedin
  • geordiegeordie Member Posts: 655
    Instead of dealing with textbox visibilty, what about leaving it visible and manage the source expression with a if statement? Like:
    =IIf(Globals!PageNumber = 1,Fields.ReportTitle.Value,"")
    
  • clauslclausl Member Posts: 455
    Place your elements inside rectangles, then they are fixed to the location you placed them.

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • ebsoftebsoft Member Posts: 81
    I just tried both ways and the result is always the same.
    :( ](*,) ](*,) ](*,)
    Regards,
    Federico

    MBS Specialist since NAV 2.0
    My experiences on Linkedin
  • ebsoftebsoft Member Posts: 81
    geordie wrote:
    Instead of dealing with textbox visibilty, what about leaving it visible and manage the source expression with a if statement? Like:
    =IIf(Globals!PageNumber = 1,Fields.ReportTitle.Value,"")
    

    This solution is the correct one, I forgot to delete Hidden condition, now it's perfect!
    Thank you very much Geordie. \:D/
    Regards,
    Federico

    MBS Specialist since NAV 2.0
    My experiences on Linkedin
  • clauslclausl Member Posts: 455
    Both solutions are correct. See i.e. report 206 in NAV 2013 R2.

    If you decide not to use Rectangles in VS you are really missing out.

    But I agree that changing the expression in your example is the easiest thing to do.

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • ebsoftebsoft Member Posts: 81
    clausl wrote:
    Both solutions are correct. See i.e. report 206 in NAV 2013 R2.

    If you decide not to use Rectangles in VS you are really missing out.

    But I agree that changing the expression in your example is the easiest thing to do.

    /Claus Lundstrøm

    I will try to redo it with rectangle too.
    Thanks you too Claus
    Regards,
    Federico

    MBS Specialist since NAV 2.0
    My experiences on Linkedin
Sign In or Register to comment.