Results 1 to 11 of 11

Thread: Access crashing when trying to Insert Image

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    All my old photo printing databases were too large to post on here, so I created a simple one to demostrate what I am talking about.
    The zip file contains the 2 photos that I have used, one is also the "place holder" for the image when it was created, the VBA changes it for the second record. You can change the first record and it will also change the image.
    There is the code in the Form's "on Current" Event and also the the Report Detail "On Format" Event as well.
    You will of course have to put them in your Folder and change the File Path to suit.
    So it will crash when you open the database because the form can't find the Photos until you add them to your folde and also change the file paths in the File Paths Table.
    Attached Files Attached Files

Posting Permissions

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