Results 1 to 2 of 2

Thread: Inserting a JPEG

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    262

    Inserting a JPEG

    Sorry the below is all in MS Access 2000


    I want to insert a jpg into my table. First off I tried
    Insert object - create from file
    and then browsed to my jpg.
    This seemed to have worked, but on closer insepection it had converted the image to an MS image.
    I found a work around my doing the following
    Insert object - create new -- new package
    I then added the jpg to the package and inserted it.

    My question is does anyone have any ideas how to automate the above actiion using VBA. Or if theres an easier way to insert JPEG's.

    Any help wopuld be great.
    Last edited by Oliver1; Oct 11th, 2004 at 03:36 AM.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Not sure this is exactly what you want but... in the database forums there is a sticky post of how to store files (including Jpegs) into dbs (like Access).

    If however you only need the name of the file and its path, and the shared area is accessible to all those who need it, then this makes a smaller db...


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

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



Click Here to Expand Forum to Full Width