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 Ustvarjanje poizvedbe v Microsoft Access Iskanje Duplicate Vpisi v tabeli

This article was written by Ta članek je napisal MysticGeek MysticGeek , a tech blogger at the How-To Geek Blogs. , Tech blogger na 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. Running v dveh izvodih podatkov v podatkovni zbirki o dostopu je lahko zelo moteč med vročičen delavnik, zato sem se odločil napisati do tehniko za pomoč pri identifikaciji podvojene zapise, tako da lahko ročno ravnanje z njimi.

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. Obstajajo številni vzroki za podvojene podatke: na primer, če imate več uporabnikov hkrati vnos podatkov prek povezanih tabel, ali pa bi lahko podedujejo tabele s podatki, ki so že vneseni dvojnik.

First open the MDB (Microsoft Database) containing the table you want to check for duplicates.  Click on the Queries tab and New. Prva odprta MDB (Microsoft Database), ki vsebuje tabelo, ki jo želite preveriti dvojnikov. Kliknite na jeziček Queries in New.

1

This will open the New Query dialog box.  Highlight Find Duplicates Query Wizard then click OK. To bo odprlo pogovorno okno New poizvedbe. Highlight Poišči Dvojniki poizvedbe čarovnika kliknite V redu.

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. Zdaj označite tabelo želite preveriti za podvajanje podatkov. Izberete lahko tudi Queries ali obeh tabel in poizvedbe. Še nikoli nisem videl uporabljati za iskanje Queries ... ampak morda bi prišel v priročni za drugo stanje. Ko ste poudarili ustrezne tabele kliknite Naprej.

1

Here we will choose the field or fields within the table we want to check for duplicate data.  Try to avoid generalized fields. Tu bomo izbrati polje ali polja v tabeli želimo preveriti za podvajanje podatkov. Poskusite se izogniti splošnih področjih.

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. Ime poizvedbe in zadeti Dokončaj. Poizvedba bo potekal takoj in pop up rezultatov. Tudi Poizvedba se shrani v oddelku Queries dostopa.

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. Odvisno od izbranih tabel in polj svoje rezultate bo izgledal nekako podoben strel spodaj, ki kažejo, nimam nič podvoji v prvi strel in rezultati dvojnikov v drugih.

11

This article was originally written on 04/16/08 Tagged with: Ta članek je bil prvotno napisan na 04/16/08 Tagged with: Microsoft Office Microsoft Office

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (3) Komentarji (3)

  1. maheshexp maheshexp

    This is really a awesome feature that I've never came across!! To je res super lastnost, da nikoli nisem prišel čez!

  2. maheshexp maheshexp

    Is that NumberOfDupes introduced automatically by the Access? Je to NumberOfDupes uvedla samodejno Access?
    If I have more than 4 columns and all the fields have dupes, how the it will display the results? Če imam več kot 4 stebri in vsa polja so dupes, kako se bo prikazal rezultate?

  3. mrkerr mrkerr

    This site is a great resource! Ta stran je velik vir! It helps us geeks learn new tricks and sometimes remind us of some we have forgotten. Pomaga nam geeks naučiti novih trikov in včasih spominjajo na nekaj smo pozabili. You might search a query for duplicates if you have already used a query to filter records in a database. Morda poizvedbo za iskanje dvojnikov, če ste že uporablja izraz za filtriranje zapisov v bazi podatkov.


Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
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.