473,394 Members | 1,701 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.

duplicates

How do I query a db that has multiple entries with the same name but additional
info, so that I can pull mthat name only once?

example Date; ID; Name; Amount; Sate;
7/5/02; 99; Druids; $500; VA
9/7/03; 99; Druids; $150; VA

The name might appear many times,from 7/5/02 to 9/7/03, but I just want it
once.
in the output record

Kind regards

Leonard Oostra
Nov 12 '05 #1
2 2200
If your output just contains the name field then you set the 'Unique
values' property for the query.

Right-click on the grey query background (or click the Properties
toolbar button) to access the properties.

If you need other info as well as the name then you must define how to
select that data when you find duplicate names.

Regards

Peter Russell

GRAAG previously wrote:
How do I query a db that has multiple entries with the same name but
additional
info, so that I can pull mthat name only once?

example Date; ID; Name; Amount; Sate;
7/5/02; 99; Druids; $500; VA
9/7/03; 99; Druids; $150; VA

The name might appear many times,from 7/5/02 to 9/7/03, but I just want
it
once.
in the output record

Kind regards

Leonard Oostra


Nov 12 '05 #2
Use a Totals query, "Group By" the duplicate fields, use "Sum" or "Max" or
"First" on the non duplicate fields

"GRAAG" <gr***@aol.com> wrote in message
news:20***************************@mb-m16.aol.com...
How do I query a db that has multiple entries with the same name but additional info, so that I can pull mthat name only once?

example Date; ID; Name; Amount; Sate;
7/5/02; 99; Druids; $500; VA
9/7/03; 99; Druids; $150; VA

The name might appear many times,from 7/5/02 to 9/7/03, but I just want it
once.
in the output record

Kind regards

Leonard Oostra

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Michelle | last post by:
hi, i have created an array from recordset containing user names eg. (davidp, davidp, evenf, patricka, rebeccah) which i have sorted in alphabetical order, but i need to identify duplicates...
6
by: Marlene | last post by:
Hi All I have the following scenario, where I have found all the duplicates in a table, based on an order number and a part number (item).I might have something like this: Order PODate Rec...
16
by: tyrfboard | last post by:
I've been searching for awhile now on how to remove duplicates from a table within an Access db and have found plenty of articles on finding or deleting duplicates. All I want to do is remove them...
3
by: AK | last post by:
Hi Our product uses MS-SQL Server 2000. One of our customer has 10 installations with each installation stroring data in its own database. Now the customer wants to consolidate these databases...
7
by: vsgdp | last post by:
I have a container of pointers. It is possible for two pointers to point to the same element. I want to remove duplicates. I am open to which container is best for this. I thought of using...
14
by: ak | last post by:
Is it possible to find repeated(duplicate) element in an array in single loop ? AK
3
by: ryan.paquette | last post by:
In the table there are 2 fields in which I wish to limit (i.e. No Duplicates) Although I do not want to limit them to "No Duplicates" separately. I need them to be limited to "No Duplicates" as...
7
by: john.cole | last post by:
I have searched all the groups I can, and I still haven't been able to come up the solution I need. I have the following problem. In my form named sbfrmSpoolList, I am entering a job, spool and...
1
by: tskmjk55 | last post by:
Recently, I have a requirement to develop a vb.net application wherein the input excel sheet data which has an average of 5000 records should be checked for Internal duplicates (duplicates within the...
3
Thekid
by: Thekid | last post by:
I'm trying to figure out a way to find if there are duplicates in an array. My idea was to take the array as 'a' and make a second array as 'b' and remove the duplicates from 'b' using 'set' and then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.