English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The two tables are the same kind data but with some duplicates. I am thinking to combine it first, then delete the duplicates from the combine list. I have no prior experience using Microsoft access.

2006-08-07 17:00:26 · 4 answers · asked by anran12 1 in Computers & Internet Software

4 answers

If you want to AUTOMATE then here's what you can do. Create three queries:

Query1:
SELECT IDNO, First(Table1.NAME) as NAME
FROM Table1
WHERE IDNO In (SELECT [IDNO] FROM [table1] As Tmp GROUP BY [IDNO] HAVING Count(*)>1 )
GROUP BY IDNO;

Query2:
SELECT Table1.IDNO, Table1.NAME
FROM table1 LEFT JOIN Query1 ON (table1.NAME = Query1.NAME) AND (table1.IDNO = Query1.IDNO)
WHERE
ISNULL(Query1.IDNO);

Query3:
SELECT IDNO, NAME
INTO Table3
FROM Query2;

2006-08-07 19:23:36 · answer #1 · answered by VBACCESSpert 5 · 1 0

Lets say you have two tables Tab1, Tab2. You want to merge them.

1. Select Tab1. Right Click and select Copy.
2. Right Click on empty space in Table view, select Paste.
3. From options dialog, enter Tab2 as table and select last option "Append Data to Existing Table"

You are done. Its as easy as this.

Then sort the table Tab2 on required columns to find duplicate records, then delete them.

2006-08-07 17:44:24 · answer #2 · answered by Indian_Male 4 · 0 0

Access Combine Tables

2017-02-23 06:19:51 · answer #3 · answered by macky 3 · 0 0

In table view, you could precise-click on the column and enter a clear out in the text fabric container that pops up as area of the menu. click in the container and use prevalent clear out expressions to clear out the table information. some examples: <4333 ability below 4333. >4000 and < 4500 ability better than 4000 and below 4500. 4123 ability in basic terms 4113. If the postcode is a text fabric container then you definately could desire to positioned costs around the fee (even inspite of the incontrovertible fact that get entry to is powerful at guessing what you recommend. for example: < "4333" is below 4333 in alphanumeric words The sort of information returned for each clear out is shown on the backside of the reveal (you have have been given to scroll to the backside of the table to make certain the selection if it is better than say one hundred information).

2016-11-04 02:43:24 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers