Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding an image (2003)

    I have a form with an bound object frame linked with an OLE object field. When I am in form view I insert an imageby using the insert object from file and by selecting a .bmp file. On the form, the image appears like a small thumbail with his name below. Why I don't just have the picture?
    Marcel

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: Embedding an image (2003)

    In the Insert Object dialog, there is a check box "Display as Icon". If you tick this check box, you'll see an icon with a caption underneath it. Otherwise, you should see the image itself.

    By the way, it is not a good idea to store images in an OLE field. It will cause your database to grow tremendously in size, for Access stores an uncompressed bitmap of each image. The recommended approach is to store the path and filename of the image in a text field in the database, and to use a standard image control (not an umbound OLE control) and some VBA code to display the image. The database attached to <post#=296892>post 296892</post#> demonstrates how to do this in a form and in a report.

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Embedding an image (2003)

    Hans,

    The check box "display as an icon" is unchecked when I insert the picture.
    The reason that I use this embedding pictures is because there is some confidential information and I prefer to have them in the database.
    Marcel

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: Embedding an image (2003)

    The only other explanation I can think of is that the .bmp file type is associated (in Windows) with an application that displays thumbnails.

  5. #5
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Embedding an image (2003)

    Edited by HansV to provide link to post: use <!t>[post#=234004]<!/t>. See <!help=19>Help 19<!/help> for instructions.

    I have found the answer to my problem. It is due to the Microsoft Object Packager. You can see the link below (I don't know how to add a link to an existing post)
    <post#=234004>post 234004</post#>.

    Regards,
    Marcel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •