Company logo on reports

mxc
mxc Member Posts: 42
edited 2003-08-14 in Navision Attain
How can I put the company logo (picture) on the header of a report?

Regards,
Regards,

Manuel Xavier

Comments

  • StephenG
    StephenG Member Posts: 99
    Hi Manuel

    I use two different methods of placing a company logo on a report/Document.

    1. You can import the logo bmp into the picture field on "Company Information". Then on your report you would have code something like this
    CompanyInfo.GET;
    CompanyInfo.CALCFILEDS(Picture);
    Then on the Section Header place a PicturBox with the
    SourceExpr CompanyInfo.Picture


    2. You can store a Bitmap on your pc .
    Then on the SectionHeader of your report add a PictureBox but this time set 2 properties
    BitmapList C:\AnyDir\Pic.bmp
    SourceExpr 0 (zero).

    I hope this helps you.
    Answer the question and wait for the answer.
  • mxc
    mxc Member Posts: 42
    Thanks, it worked...
    Regards,

    Manuel Xavier
  • eromein
    eromein Member Posts: 589
    Remeber...

    1.) Navision can not print in color.
    2.) If you use the second option StephenG described, you can not design the report if you do not have the picture on your computer in the path you entered. Plus the picture can not be as big (in size) as the one stored in the database (option 1 StephenG described).
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."