Pictures on Form

ecruivivarecruivivar Member Posts: 9
edited 2004-11-10 in Navision Attain
Good Day!

I would like to ask if anyone can provide a solution on how I can fit in a picture (coming from the Picture Table) to a form. I saw in a previous post, here in Mibuso, that you can do this particular function by defining in the C/AL Global a temporary variable with BLOB datatype, where you can store the image.

My problem is, in my C/AL Global definition, the BLOB data type is not available (why is this so?) and the only data type that I can make use of to accommodate the image are the INSTREAM and OUTSTREAM command.

Would really appreciate for any response and feedback regarding this scenario.


ECR

Comments

  • kinekine Member Posts: 12,562
    There is no BLOB global variable. It is the BLOB field from table, where the picture is saved. You only do calcfields on this field and insert it to form or report through picture box...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ecruivivarecruivivar Member Posts: 9
    KINE ....

    can you be more specific? sorry i'm still very new in Navision.

    thank you very much. I really appreciate your immediate reply.
  • kinekine Member Posts: 12,562
    Look for example in Form 1 (Company info)... if the picture is part of record in a table (is stored in some field in table - this field have BLOB type) and the form is created for this table (the table is base table for the form), you only add Picture box on the form and connect it to the field with picture - property SourceExpr.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.