Results 1 to 8 of 8
  1. #1
    VanillaAwesome is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    12

    Adding Pictures into Table

    I have been all over the internet and the forum looking for this answer but everyone
    seems to have a different way of doing things. So far, none of them
    work.

    What I really need to do is to display a bitmap image in an access
    table. I dont want to create a link to the table I need to physically
    see the image when the table loads. This is for a final project and its
    the last thing I need to do.The project calls for 15 state flags to be
    displayed with their state name in a table. Here is what I have so far.

    Save data type as OLE object
    Right click and select insert object
    choose create from file
    Select my Bitmap image of the state flag

    My issue is that all that shows up is text reading Bitmap image shows
    up. If I click on it it say paintbrush image and loads MS paint. I have
    read all about how to code the picture in a separate file and how to
    integrate it as a BLOB but this is all overly complicated and time
    consuming for this little project.



    If I can clarify something, let me know. Please and thank you for the help.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I don't think can show the image in table. Build a report and bind an OLE or Image control to the field.

    The image is embedded in the table or just a path to external file?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree with June, you won't see the image in the table.
    Here's a video on adding OLE object to a table and displaying that Object (Picture/image) on a form.

    http://www.youtube.com/watch?v=QFUDt0cpIi0

  4. #4
    VanillaAwesome is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    12
    June7- right now it is just a path to an external file. If you click on where it says Bitmap image MS paint launches and it shows the image. I believe I am supposed to embed the image for viewing in the table.

    Orange- Okay, so i used the form wizard to see what my flag field displayed if I I had a bitmap image stored and it does display the image. Here is what the sylabus says in regards to the image of the flag.

    Select 15 fields from the list of for each state – you will be using the same fields for all of the states. These fields should be based on the categories in the 50states web site. This flag of each state will be one of the fields.

    She goes on to say...
    Create a database with the appropriate fields and properties.
    (One field in the table must contain a flag of the state.)

    I will contact her to make sure I am interpreting this correctly but I believe she wants the image viewable in the table. If not I could just hide that column and it will display in the Form portion of the final.

  5. #5
    VanillaAwesome is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    12
    Okay, Honestly I think that teacher is confused about what she wants. She just told another student in our forum to make data type an attachment. Can someone explain how this would be different from OLE Object?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I have never used the OLE Object type but think the field is limited to one embedded file. An attachment data type is actually a multi-value kind of field and allows multiple files to be stored in the same field and that field really stores links to a hidden table where the values are actually stored.

    The appropriate application launches when you click on the OLE field in table. Build a report and bind control to the field and depending on the file type it will display within the control.

    Review https://www.accessforums.net/reports...eld-30861.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    VanillaAwesome is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    12
    thank you everyone for your help. Sorry that this was, in a way, a waste of time.

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    ?? Just which part was the waste of time??
    You had an issue; you did some internet searching; you found and told us some of the trends you found; you got some suggestions, some links, some opinions; and I think you discovered you didn't have all the info for the project (teacher telling slightly different stories of requirements (or students only hearing the pieces they clearly could identify with) ...
    and you seem to have made some decision about how you will proceed (just didn't tell us).

    Seems like a pretty good hour and a half to me.

    Good luck with your project.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Link Pictures & Adding Browse Button
    By OldGreg134 in forum Access
    Replies: 1
    Last Post: 06-29-2012, 01:02 PM
  2. adding data from table 1 to table 2
    By GEONPS in forum Access
    Replies: 5
    Last Post: 06-22-2012, 01:48 PM
  3. Replies: 3
    Last Post: 12-19-2011, 11:18 AM
  4. Adding filenames to pictures
    By Plumber in forum Forms
    Replies: 1
    Last Post: 02-11-2009, 10:34 PM
  5. Import/Link Pictures into a table
    By shm138 in forum Import/Export Data
    Replies: 3
    Last Post: 03-17-2006, 08:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums