Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32
  1. #31
    davidvhp is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    15
    Thank you orange.
    Can I ask you another question ?
    I have a table T_user, where one of the fields is "photo" . This fields is of "attachment" type. I am having troubles in saving the foto from a imagebox into this field. I have tried thios way :
    CurrentDb.Execute "update T_utilizador " & " set ", photo=" & Me.image42 & "" & _


    " where usernameID=" & 1

    But this way is not working. Do you know how can I do it ?

    Regards and thank you very much again.

  2. #32
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I have AC2003 which does not have attachment type fields.
    I would recommend that you use a text field to record the location and name of the "Photo", and store the photo in the general file system ---- something like
    C:\MyPhotos or whatever. Then use a hyperlink to go to the photo when you need it, or use an image control.

    There are links on the net with examples.
    Here's one http://www.jamiessoftware.tk/article...ingimages.html

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. trying to learn visual basic
    By darklite in forum Programming
    Replies: 7
    Last Post: 08-24-2011, 02:18 PM
  2. Can't see visual basic code
    By Michele Keck in forum Forms
    Replies: 5
    Last Post: 09-29-2010, 11:31 AM
  3. Query in visual basic
    By Lucas83 in forum Programming
    Replies: 1
    Last Post: 06-10-2010, 11:00 AM
  4. Record Value in Visual Basic
    By chrismec in forum Programming
    Replies: 3
    Last Post: 12-09-2009, 04:14 PM
  5. Problem when activate the Visual Basic Editor
    By milo in forum Programming
    Replies: 0
    Last Post: 05-21-2007, 09:05 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