Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922

    The Northwind db also has a number of good examples. Post when you need assistance again.

  2. #17
    justinwright is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    104
    Okay, so the Northwind Db was a help with other stuff I was curious about, but I didn't find much on what I needed. I did, however, find this:

    http://blogs.msdn.com/b/access/archi...ent-field.aspx

    That someone pointed me in the direction of. It seems like, though, that this is for external file storage.


    As another aside, through hours of searching I found something like:

    Code:
    Me.AttachmentControl = rs.Fields("ATTACHMENT")
    Which gives me "Error 438: Object doesn't support this property or method."

    and

    Code:
    Me.AttachmentControl = rs!Fields("ATTACHMENT")
    Which gives me "Error: Item not found in this collection."

    and

    Code:
    Me.AttachmentControl.Value = rs.Fields("ATTACHMENT")
    Which gives me a different type of error box that says "Method or data member not found."

    And

    Code:
    Me.AttachmentControl.CurrentAttachment = rs.Fields("ATTACHMENT")
    Which gives me a "Type mismatch" error.

    There is an attachment there called attachtest.txt.

    This might be a long short, but I feel like I'm on the right track with those particular parts of code (though I could be completely wrong). Based on that, anyone have any ideas? I'm really hitting a roadblock here, despite hours and hours of testing and searching.

    EDIT:

    I've found the following methods that seem relevant:

    CurrentAttachment
    AttachmentCount
    FileName
    FileType
    FileURL
    OnAttachmentCurrent

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 15
    Last Post: 09-18-2010, 01:19 PM
  2. Replies: 3
    Last Post: 06-29-2010, 12:08 PM
  3. Replies: 0
    Last Post: 05-14-2010, 07:28 AM
  4. Replies: 2
    Last Post: 05-05-2010, 02:52 PM
  5. Populating a "Text" field in a Report
    By two_smooth in forum Reports
    Replies: 20
    Last Post: 02-19-2010, 11:25 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