Results 1 to 3 of 3
  1. #1
    ksmith is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    59

    Change a Picture in an Attachment


    Hey Guys,

    Got a question, I haven't done any work where I had more than one picture in an attachment file. I know that you can have multiple pictures in the attachment. I was wondering if there is anything that you can do to change the view (picture) other than the built in control that 'comes up' when the picture area on your form has focus.

    What I was thinking of is a big "Left' 'Right' arrow that you could put under the picture area on your form to help the user naviagate through the pictures. Or better yet, have small thumbnail size pictures that you click on to display a larger view in the main picture area.

    Has anyone done anything like this is Access?

    Thanks in advance for your help.

    K Smith

  2. #2
    DaveT is offline Access Developer
    Windows 7 Access 2010 (version 14.0)
    Join Date
    May 2010
    Location
    Texas
    Posts
    69
    You can use the methods [AttachmentControlName].Forward and [AttachmentControlName].Back

    See http://msdn.microsoft.com/en-us/libr...ffice.12).aspx

    For example, I have a form with an attchment control named Photos

    Put a command button with picture = Arrow Right and Photos.Forward in the OnClick event.

    Put another command button with picture = Arrow Left and OnClick = Photos.Back

  3. #3
    ksmith is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    59
    Thanks for the reply. Thats looks like what I was needing!

    Again, Many Thanks.

    K Smith

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

Similar Threads

  1. How would you output an XML file with an Ole Attachment?
    By techneophyte in forum Programming
    Replies: 7
    Last Post: 09-09-2010, 09:09 AM
  2. attachment help!
    By ninachopper in forum Access
    Replies: 1
    Last Post: 08-01-2010, 12:03 AM
  3. Replies: 0
    Last Post: 07-06-2010, 08:12 AM
  4. Emailing - Attachment is Blank
    By Benfieldf in forum Access
    Replies: 2
    Last Post: 05-10-2010, 08:03 AM
  5. Attachment Field problems
    By freds in forum Database Design
    Replies: 1
    Last Post: 12-15-2009, 06:37 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