473,796 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Over the years, I've used query wizard to list duplicate entries...

MLH
I never quite figured out how to reconfigure it to automatically
delete redundant entries. Of course, one cannot always blatantly
blow redundant records away w/o regard to which one it is that
you wish to keep. But, sometimes you can. Anybody developed
anything like this?

(used powrmail tblEFaganReps) ==> ignore personal alzheimer note
Nov 13 '05 #1
4 1669
I am not quite sure, what exactly you are mentioning.
have you ever tried using "distinct"?

Nov 13 '05 #2
MLH <CR**@NorthStat e.net> wrote in
news:04******** *************** *********@4ax.c om:
I never quite figured out how to reconfigure it to automatically
delete redundant entries. Of course, one cannot always blatantly
blow redundant records away w/o regard to which one it is that
you wish to keep. But, sometimes you can. Anybody developed
anything like this?

(used powrmail tblEFaganReps) ==> ignore personal alzheimer note


You don't reconfigure it. You do create a delete query and use this
one as its datasource.

--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #3
MLH,
I think what you're after is a way to delete the *duplicate* entries but
still retain the *origonals*. I.e. keep ONE (and only one) version of every
unique record. This is a problem I have tried to address several times and
never come up with a 'one-step' solution. I think what Bob is suggesting
will blow away ALL records that have duplicates, which I'm guessing is not
what you want.
Sound reasonable? Ideas, anyone?

Simon
"Bob Quintal" <rq******@sympa tico.ca> wrote in message
news:Xn******** **************@ 207.35.177.135. ..
MLH <CR**@NorthStat e.net> wrote in
news:04******** *************** *********@4ax.c om:
I never quite figured out how to reconfigure it to automatically
delete redundant entries. Of course, one cannot always blatantly
blow redundant records away w/o regard to which one it is that
you wish to keep. But, sometimes you can. Anybody developed
anything like this?

(used powrmail tblEFaganReps) ==> ignore personal alzheimer note


You don't reconfigure it. You do create a delete query and use this
one as its datasource.

--
Bob Quintal

PA is y I've altered my email address.

Nov 13 '05 #4
MLH
Bob's right. I definitely do not want to blow out all the records.
I NEED 1 of each. I don't need the duplicates.
xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxx
MLH,
I think what you're after is a way to delete the *duplicate* entries but
still retain the *origonals*. I.e. keep ONE (and only one) version of every
unique record. This is a problem I have tried to address several times and
never come up with a 'one-step' solution. I think what Bob is suggesting
will blow away ALL records that have duplicates, which I'm guessing is not
what you want.
Sound reasonable? Ideas, anyone?

Simon
"Bob Quintal" <rq******@sympa tico.ca> wrote in message


Nov 13 '05 #5

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

Similar topics

9
2313
by: Paul | last post by:
Can anyone suggest an efficient way to eliminate duplicate entries in a list? The naive approach below works fine, but is very slow with lists containing tens of thousands of entries: def uniq(list): u = for x in list: if x not in u: u.append(x) return u
7
10818
by: Bing Wu | last post by:
Hi Folks, I have a very large table containing 170 million rows of coordinats: CREATE TABLE "DB2ADMIN"."COORDINATE" ( "FID" INTEGER NOT NULL , "AID" INTEGER NOT NULL , "X" REAL NOT NULL , "Y" REAL NOT NULL , "Z" REAL NOT NULL )
2
4993
by: ms | last post by:
Access 2000: I am trying to delete duplicate records imported to a staging table leaving one of the duplicates to be imported into the live table. A unique record is based on a composite key of 3 fields (vehicleID, BattID, and ChgHrs). VehicleID and BattID are a TEXT datatype and ChrHrs are a number(long int.) datatype. Since records to be imported can have duplicate records of the composite key I need to clean all but one of the...
3
579
by: John young | last post by:
I have been looking for an answer to a problem and have found this group and hope you can assist . I have been re doing a data base I have made for a car club I am with and have been trying to make a query that selects from a table as desribed below .. I have a table (Volunteer) that has a member field (memnumber) and a number of fields that are headed in various categories and are yes/no formated
1
2671
by: Erik Schweitzer | last post by:
I work for a tool & die shop, and we have an Access DB that captures work performed on each job we do. Each job could have 5 or more entries for work performed on it. I am trying to create a query that will only display the last activity performed, for each job. Please note, I do NOT have the Find Duplicate Query Wizard, and need to know how to create the Query with out the wizard. The database table contains following data:
5
2332
by: Colleyville Alan | last post by:
I have some data in a table structured like this: Date Cust_ID CUSIP Amount 01/31/2005 060208 02507M303 27,061.84 02/28/2005 060208 02507M303 32,049.00 Is there a way to construct a query that will give me the difference by customer and CUSIP by month? The real app has over 200,000 records (12 months with 20,000+ entries per
4
2070
theaybaras
by: theaybaras | last post by:
Hi All... I've read both of the requery discussions I could find... Refresh ComboBox After Adding New Values via a Seperate Form and refresh a form but am not quite able to get this to apply to my database. I have a table/form called Author_Info where information about authors is entered. The fields of interest here are: Author_Last Author_First
3
1422
by: DDonnachie | last post by:
Hi, I want my query to go through all the employee hours and list the associated rates for each record. This means going through Eng_Costing and linking to Eng_PrjGrds (matching Project and Grade), then linking to Eng_Rate using Rate ID. SELECT Eng_Phase.Phs_MainPrj, Eng_Costing.CST_Grade, Eng_Costing.CST_Date, Eng_Costing.CST_Norm_H, Eng_Costing.CST_OT_H, Eng_Costing.CST_OTX_H, Eng_Rate.RT_Norm, Eng_Rate.RT_OT, Eng_Rate.RT_OTX FROM...
3
2813
by: medic29 | last post by:
Hello, I have a query listed below which works but... The data below is what the query displays. There are hundreds of records I am bringing up and each one has between 3-6 entries displayed in this general format. The LastPFProtocolStageIndex (level reached) column will always reflect the same number for the patient. Based on the number in the first column I would like the query to display the first duplicate occurance and nothing more....
0
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10456
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7548
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.