Solved

MS Access: Duplicate Records Showing in Subform

Posted on 2013-01-20
3
1,346 Views
Last Modified: 2013-01-21
Hello,

I have a MS Access form, that has a subform. The bottom subform is showing duplicate record values and I can't figure out why. Attached is a screenshot and a sample database.

How do I restrict the subform to only showing each unique record once?

Thanks
Experts-Exchange-Questions.zip
0
Comment
Question by:dabug80
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 38798281
Your problem lies in the query qryTransactions.

You have no link set between the two tables and so you are getting every record in one table linked with every record in the second table.
Look at the results of that query and you will see.

But I can't actually see a common field so I don't know how you would link them.
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 38798768
Generally, a main form/subform has the main form bound to the "one" table in a one-to-many relationship, and the subform bound to the "many" table.  You may need to fix your table relationships so this will work (the sooner the better, as correct table structure and relationships are essential).
0
 
LVL 1

Author Closing Comment

by:dabug80
ID: 38800618
Thanks. I see the problem now. I deleted the query fields from the unlinked table and it worked.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now