473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Query pulls same record multi times

I am created a query of two tables in which a record displayed 3 times in the created query.
How to solve the problem
Sep 22 '15 #1
3 959
Seth Schrock
2,965 Expert 2GB
If there is a one-to-many relationship between the two tables, then any fields pulled from the one side of the relationship will be repeated for each record in the many side.

If there is no relationship between them, then all of the records will be repeated. Without any more information about what you have, we can't be much more specific. Please post the SQL for your query (using [CODE/] tags) and we can try to be more specific.
Sep 22 '15 #2
Create a relationship between two common main fields and voilla!! you have it done.
Sep 22 '15 #3
hvsummer
215 128KB
3 solution available that I can give now.

1. you have to track what the different value in a field relative to the same ID that not supposed to be duplicate. clear those value by choose the right one and delete the wrong.
2. use group by
3. on query property, switch the "unique value" to yes
Sep 22 '15 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Andrew Cutforth | last post by:
I have a strange problem that I have not come across before. In a multi user situation I have a readonly query open. When another user tries to post a change to that record it says it is locked....
0
by: Andrew Cutforth | last post by:
I have a strange problem that I have not come across before. In a multi user situation I have a readonly query open. When another user tries to post a change to that record it says it is locked....
3
by: Chuck | last post by:
Hi, I have a somewhat unique problem (at least unique to me, and I've been doing this for longer than I care to admit). I have a client that needs to print cards onto perforated card stock (so...
4
by: Andy_Khosravi | last post by:
I'm trying to build a search utility for users to find 'inquiries' in my database that involves several tables. This is normally easy to do with the query builder, but I have a unique situation...
4
by: gambit32 | last post by:
I have one multiselect box called 'listclient.' I have another multi-select box called 'listemployee.' I found some code that allows me to query on the listclient box. I'm trying to figure out...
1
by: pedro8ae | last post by:
I have a table with multiple records and one field that determine wheter or not the record is in use (Yes/No). I create a Query to list all the Yes in that table BUT, when I list or run my query...
8
by: kepston | last post by:
I have a situation where I need to record scrap quantities for parts that we sell and parts that are supplied, in a single table. I have a UNION query that combines the part numbers successfully,...
1
by: kstevens | last post by:
I am trying to pull time records for employees. I have a list box (simple multi select) with there names in the box. I want people to be able to select the employees that they want, and click the...
4
by: NarenKeer | last post by:
Hi, I have been trying to find a solution for this from past one week and no good progress yet. I just want to avoid the parameter window displayed by query in record source property of a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.