RESOLVED - Picture Box in report - Company picture (logo)

rj5570rj5570 Member Posts: 157
i am having trouble pulling the company logo in a report. I have a variable set up for the company information as CompanyAddr

i refering it to CompanyAddr.Picture for the source

i am having no trouble pulling company address informatoin using that variable.
- So it Goes.

Comments

  • XypherXypher Member Posts: 297
    So far out of all my attempts at actually producing the company logo in a report I have come up with this....

    You are not able to display this logo without including the record 'Company Information' as a DataItem for the Report.


    If someone else finds another way, I am curious to know.
  • rj5570rj5570 Member Posts: 157
    i set up a new variable CompanyInfo as a record for the Company Information table

    still no workie! :roll:
    - So it Goes.
  • ara3nara3n Member Posts: 9,256
    You need to on prereport trigger add this code

    CompanyInfo.calcfields(Picture);



    Blobs for record variable are not automatically calculated for performance reason.
    If you need to access them you have use calcfields
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • XypherXypher Member Posts: 297
    ara3n wrote:
    You need to on prereport trigger add this code

    CompanyInfo.calcfields(Picture);



    Blobs for record variable are not automatically calculated for performance reason.
    If you need to access them you have use calcfields


    I should've known 8-[
  • rj5570rj5570 Member Posts: 157
    well i am a moron.

    that works!!! should have known also!!!

    thanks
    - So it Goes.
  • ara3nara3n Member Posts: 9,256
    I don't you should be calling yourself anything derogatory.
    I am sure everybody goes through the same thing where they forget something.
    It's all about willing to ask and learn. That's what matters.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.