Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Create a Query in Microsoft Access to Find Duplicate Entries in a Table Izveidot vaicājumu Microsoft Access atrast Duplicate Entries in Table

This article was written by Šajā rakstā autors MysticGeek MysticGeek , a tech blogger at the How-To Geek Blogs. , Tech blogger at How-To Geek Blogs.

Running into duplicate data in an Access Database can be quite annoying during the hectic workday, so I decided to write up a technique to help identify the duplicate records so you can manually handle them. Nokļūšanu dublikāta datu Access datu bāzē var būt diezgan kaitinošas laikā drudžains darba dienas, tāpēc es nolēmu rakstīt līdz tehniku, lai palīdzētu noteikt dublikātu uzskaiti, lai jūs varat manuāli rīkoties ar tām.

There are many causes for duplicate data: for instance if you have multiple users entering data simultaneously via linked tables, or you might inherit a table with duplicate data already entered. Ir vairāki iemesli dublikāts datiem: piemēram, ja jums ir vairākiem lietotājiem ievadīt datus vienlaicīgi, izmantojot saistītas tabulas, vai jūs varētu mantot tabulu ar dublikāts datiem, kas jau ievadīti.

First open the MDB (Microsoft Database) containing the table you want to check for duplicates.  Click on the Queries tab and New. Pirmais atklātais MDB (Microsoft datu bāze), kas satur tabulas, kuru vēlaties pārbaudīt dublikātus. Noklikšķiniet uz vaicājumu tab un New.

1

This will open the New Query dialog box.  Highlight Find Duplicates Query Wizard then click OK. Tas atvērs jaunu meklēšanu dialoglodziņu. Izcelt Find Norakstus Vaicājuma vednī noklikšķiniet uz Labi.

1

Now highlight the table you want to check for duplicate data.  You can also choose Queries or both Tables and Queries.  I have never seen a use for searching Queries … but perhaps it would come in handy for another's situation.  Once you've highlighted the appropriate table click Next. Tagad izcelt tabulu, kuru vēlaties pārbaudīt dublēt datus. Jūs varat izvēlēties arī Queries vai abām tabulām un vaicājumiem. Es nekad neesmu redzējis izmantot meklēšanai Queries ... bet varbūt tas noderēs citu situāciju. Tiklīdz jūs esat uzsvērti atbilstoši tabulai noklikšķiniet uz Tālāk.

1

Here we will choose the field or fields within the table we want to check for duplicate data.  Try to avoid generalized fields. Šeit mēs izvēlēties jomu vai jomas ietvaros tabulu mēs gribam, lai pārbaudītu dublēt datus. Centieties, lai izvairītos no vispārējām jomām.

1

Name the Query and hit Finish.  The Query will run right away and pop up the results.  Also the Query is saved in the Queries section of Access. Nosaukums Query un spiediet Finish. Query darbosies uzreiz un pop up rezultātus. Arī Vaicājums tiek saglabāts Queries sadaļā Access.

2

Depending upon the selected tables and fields your results will look something similar to the shots below which show I have nothing duplicated in the first shot and the results of duplicates in the other. Atkarībā no izvēlētā tabulas un lauki jūsu rezultātus izskatīsies kaut kas līdzīgs šāvienu, zem kuras parādīt man nekas dublē pirmajā nošauts dublikātu rezultātus otru.

11

This article was originally written on 04/16/08 Tagged with: Šis pants tika sākotnēji rakstīts uz 04/16/08 tagged with: Microsoft Office Microsoft Office

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:


Name: Vārds:
Email: E-pasts:

Comments (3) Komentāri (3)

  1. maheshexp maheshexp

    This is really a awesome feature that I've never came across!! Šī ir tiešām laba īpašība, ka es nekad neesmu nāca pāri!

  2. maheshexp maheshexp

    Is that NumberOfDupes introduced automatically by the Access? Vai tas NumberOfDupes ieviesta automātiski Access?
    If I have more than 4 columns and all the fields have dupes, how the it will display the results? Ja man ir vairāk nekā 4 kolonnas un visiem laukiem ir dupes, kā tas parādīs rezultātus?

  3. mrkerr mrkerr

    This site is a great resource! Šī vietne ir lielisks resurss! It helps us geeks learn new tricks and sometimes remind us of some we have forgotten. Tas palīdz mums geeks iemācīties jaunus trikus un dažkārt atgādina mums par kādu mēs esam aizmirsuši. You might search a query for duplicates if you have already used a query to filter records in a database. Jūs varētu meklēšanas vaicājumu par dublikātu, ja esat jau izmanto vaicājumu, lai filtrētu ierakstus datu bāzē.


Leave a Comment Leave Comment




Leave your Atstājiet savu friendly draudzīgs comment here. komentārus šeit.

If you have a computer help question, Ja Jums ir dators palīdzēt jautājumu, click here to leave it on the forums click here to atstāt uz forumu instead. vietā.

Note: Your comment may not show up immediately on the site. Piezīme: Jūsu komentārs var neparādīties pat tieši uz vietas.

Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis process?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.