Create a Query in Microsoft Access to Find Duplicate Entries in a Table Vytvorenie dotazu v programe Microsoft Access nájsť duplicitné záznamy v tabuľke
This article was written by Tento článok bol napísaný MysticGeek MysticGeek , a tech blogger at the How-To Geek Blogs. , Tech blogger na How-To Geek blogy.
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. Beh do duplicitných údajov v databáze o prístupe môže byť docela nepríjemné počas hektického pracovného dňa, tak som sa rozhodol napísať techniku pomôcť identifikovať duplicitné záznamy, takže si môžete ručne manipulovať s nimi.
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. Existuje veľa príčin duplicitných údajov: napríklad ak máte viac užívateľov súčasne zadávanie dát prostredníctvom prepojenej tabuľky, alebo môžete zdediť tabuľka s údajmi, ktoré už boli duplicitné.
First open the MDB (Microsoft Database) containing the table you want to check for duplicates. Click on the Queries tab and New. Najprv otvoriť MDB (Microsoft Database), ktorý obsahuje tabuľku, ktorú chcete skontrolovať duplicity. Kliknite na záložku Otázky a novej.

This will open the New Query dialog box. Highlight Find Duplicates Query Wizard then click OK. Tým otvoríte dialógové okno Nový dotaz. Zvýraznite Nájsť Duplikáty Sprievodca dotazom kliknite na tlačidlo OK.

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. Teraz zvýrazniť tabuľku, ktorú chcete skontrolovať duplicitných údajov. Môžete tiež vybrať, dotazov alebo oboch tabuliek a dotazov. Nikdy som nevidel použiť pre vyhľadávanie dotazov ... ale snad to bude hodiť pre iné situácie. Akonáhle zdôraznila príslušnej tabuľky kliknite na tlačidlo Ďalej.

Here we will choose the field or fields within the table we want to check for duplicate data. Try to avoid generalized fields. Tu vyberieme poľa alebo polí v tabuľke chceme skontrolovať duplicitných dát. Snažte sa vyhnúť všeobecnej polí.

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. Názov dotazu a stlačte Dokončiť. Dotazu spustí hneď vyskočí a výsledky. Tiež Opýtajte je uložený v sekcii Otázky programu Access.

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. V závislosti na vybrané polia tabuľky a výsledky budú vyzerať podobne ako zábery ukazujú, pod ktorú som nič zdvojená v prvý výstrel a výsledky v ďalších kópií.



Daily Email Updates Denný Svářeč
You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:



This is really a awesome feature that I've never came across!! To je naozaj úžasné funkcia, ktorá nikdy som narazil!
Is that NumberOfDupes introduced automatically by the Access? Je to NumberOfDupes zaviedli automaticky prístup?
If I have more than 4 columns and all the fields have dupes, how the it will display the results? Keď budem mať viac ako 4 stĺpce a všetky polia dupes, ako sa bude zobrazovať výsledky?
This site is a great resource! Táto stránka je skvelý zdroj! It helps us geeks learn new tricks and sometimes remind us of some we have forgotten. Pomáha nám mágov učiť sa nové triky a niekedy pripomínajú niektoré sme zabudli. You might search a query for duplicates if you have already used a query to filter records in a database. By ste mohli hľadať dotaz na duplicity, ak ste už vyčerpali otázku k filtrovanie záznamov v databáze.