Solved

MS Access: Duplicate Records Showing in Subform

Posted on 2013-01-20
3
1,528 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

740 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