Solved

MS Access: Duplicate Records Showing in Subform

Posted on 2013-01-20
3
1,605 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

729 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