Results 1 to 13 of 13
  1. #1
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7

    Putting Picture in database

    Hello,

    I have a full database with workers name. But right now i don't how to insert picture in to row in my accesss. Can anybody help me.

  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,601
    You want to display image on form or report?

    Use an Image Control. Save the image in an attachment type field or the image file path and name in a text field of table and bind Image Control to the field.
    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
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Quote Originally Posted by June7 View Post
    You want to display image on form or report?

    Use an Image Control. Save the image in an attachment type field or the image file path and name in a text field of table and bind Image Control to the field.
    I wanna insert on the database. Which mean every row name of worker have picture. So that when i open the form, it will display each of worker picture by name.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Use an attachment field to embed objects in the database. http://office.microsoft.com/en-us/ac...001213852.aspx

    Beware, attachments make database grow very fast.

    Regardess of whether you use attachment field or external reference to image files, use an Image Control to display the image.
    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.

  5. #5
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Quote Originally Posted by June7 View Post
    Use an attachment field to embed objects in the database. http://office.microsoft.com/en-us/ac...001213852.aspx

    Beware, attachments make database grow very fast.

    Regardess of whether you use attachment field or external reference to image files, use an Image Control to display the image.

    How to attach the picture? I cannot find the tool.

  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,601
    You need to know how to get image into attachment field? It is described in the link I reference in the 'Attach files directly to tables' section.
    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
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Yes. But when i try using the sample contact. I go throught the database it has the attachment. I think it work with webbase. Right now maybe i tried to convert to webbase.

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    You are using the Contacts template database?

    I have no experience with web database. However, what I read indicates Attachment field is compatible but only one Attachment field in table.
    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.

  9. #9
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Yes i use the contact template. But it so different to create. Im still thingking how to attach the picture on the database without use the webbase

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    There are two Contacts templates, one is webbased and one is not. Why is the webbase an issue? What do you mean by 'so different to create'? It is already created. What exactly are you trying to do? The guidelines given for images and attachments are specific. What is the issue?
    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.

  11. #11
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Quote Originally Posted by June7 View Post
    There are two Contacts templates, one is webbased and one is not. Why is the webbase an issue? What do you mean by 'so different to create'? It is already created. What exactly are you trying to do? The guidelines given for images and attachments are specific. What is the issue?
    Ok below are the form that i wanna insert picture for each workers. The problem is is cannot do an attachment. Because it is not a webbase. and the extension file is mdb. If you don mind, can you make on simple attachment using extension .mdb
    Attached Thumbnails Attached Thumbnails Form Database.jpg   Form Database.jpg  

  12. #12
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    When you view the mdb in Access 2007 or 2010 the Attachment type and Image Control with ControlSource property should be available. However, if you use those features the db will no longer be compatible with Access 2003. Dynamic display of images in 2003 requires code. Review http://office.microsoft.com/en-us/ac...001147204.aspx
    Link buried in that article is http://support.microsoft.com/default...%2Dus%3B285820

    Lots of examples already on the web. Not going to build for you.

    Does db need to stay in mdb version? Your profile shows you are using 2010.
    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.

  13. #13
    adifa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    7
    Ok i will searching and try n error. Thanks

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

Similar Threads

  1. Putting Rows in to columns
    By HowardlyDog in forum Queries
    Replies: 1
    Last Post: 06-29-2012, 01:39 PM
  2. Help with putting QUERY in a Range
    By taimysho0 in forum Programming
    Replies: 3
    Last Post: 02-15-2012, 06:29 PM
  3. Replies: 1
    Last Post: 08-30-2011, 11:54 PM
  4. Putting an Expression in a Field Box
    By MWB in forum Queries
    Replies: 4
    Last Post: 11-02-2010, 06:58 AM
  5. Putting a Finished Database up on the Network
    By Imgsolutions in forum Access
    Replies: 1
    Last Post: 07-14-2010, 03:56 AM

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