Creating a box in a report

sabzamsabzam Member Posts: 1,149
I need to create a box in a report in which let's say the background colour is red. I have assumed that this is a simple task but I have not managed up to now. The colour is irrelevant as long as it is not white or black. Could this be done in any way?

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    The only way to do this is by putting a bitmap in a blob field and use that in your report.

    Navision reports do not support color on the default controls.

    There should be howto's and related info on the forum. Try using search.
  • WaldoWaldo Member Posts: 3,412
    You should do this with an image control on the section you want it to show.

    Just open the sections view
    from toolbox, pick an image and put it on the section
    fill in the Bipmap property

    good luck

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • WaldoWaldo Member Posts: 3,412
    I should write faster :|

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ashishaashisha Member Posts: 60
    Waldo wrote:
    I should write faster :|

    how i can make a picture box control on existed report.actually i am using the code
    CompanyInformation.GET('');
    CompanyInformation.CALCFIELDS(CompanyInformation.Picture);

    on aftergetrecord but picture is not coming but in other report company statement using the same code picture is showing fine.

    Please help me how i can do this in existed report.
  • WaldoWaldo Member Posts: 3,412
    OnAfterGetRecord of which DataItem?

    I would put it OnPreReport... .

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ashishaashisha Member Posts: 60
    Waldo wrote:
    OnAfterGetRecord of which DataItem?

    I would put it OnPreReport... .
    Actually i tried this code on prereport also but picture is not coming.
    Please tell me how i can add a picture box in section in a report
  • WaldoWaldo Member Posts: 3,412
    Did you put "CompanyInformation.Picture" in the SourceExpr of the PictureBox?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • WaldoWaldo Member Posts: 3,412
    I just found this post:
    http://www.mibuso.com/forum/viewtopic.php?t=21368

    So it is solved?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.