Results 1 to 4 of 4
  1. #1
    j2curtis64 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    56

    Duplicate record in Subform

    Hi,



    I keep getting a duplicate record in my subform whenever i add more than one attachment to a record. I am not getting duplicate records in my table.

    How can i fix this?

    Thanks

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    Your post is a little vague....but if I'm reading this right, you're using the new (to Access 2007) attachment field in your table? Although you can add many attachments to a record...and it looks like there's only one row....in realty, you have a 1 to many relationship between your record and the attachments. So the subform is displaying this realty. I suspect that if you remove the attachment field from the subform, you won't see the duplicates.

  3. #3
    j2curtis64 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    56
    Thanks...you are right.

    How would I attach two documents without creating the duplicate records?

  4. #4
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    I would probably use a separate table for the attachments....linked by the main id.

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

Similar Threads

  1. Duplicate last record to next record in form
    By jdhaldane in forum Forms
    Replies: 4
    Last Post: 12-17-2010, 04:22 PM
  2. If duplicate record, go to original record
    By BigBear in forum Forms
    Replies: 2
    Last Post: 10-06-2010, 02:58 AM
  3. If duplicate record, go to original record
    By islandboy in forum Access
    Replies: 51
    Last Post: 06-02-2010, 04:17 PM
  4. subform creates duplicate record
    By jheintz57 in forum Forms
    Replies: 0
    Last Post: 03-29-2010, 11:50 AM
  5. Replies: 0
    Last Post: 01-06-2009, 02:17 PM

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