Solved

MS Access: Duplicate Records Showing in Subform

Posted on 2013-01-20
3
1,284 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks. I see the problem now. I deleted the query fields from the unlinked table and it worked.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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 …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

12 Experts available now in Live!

Get 1:1 Help Now