帮助请求 - Access 2007 - 交叉引用 [英] Help request - Access 2007 - Cross-referencing

查看:79
本文介绍了帮助请求 - Access 2007 - 交叉引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Access的新手,并试图确定它是否是我项目的正确工具。我有多个联系人列表可以追溯到几年,并且有很多冗余。我希望能够做的是比较表格,以便结果只产生唯一的
联系人。所有表都有相同的字段;姓名,地址,电话等等。

I am new to Access and trying to determine if it is the correct tool for my project. I have multiple contact lists that go back several years and have a lot of redundancy. What I would like to be able to do is compare the tables so the result yields unique contacts only. All tables have the same fields; name, address, phone, etc. 

我之前对此项目的尝试是将所有数据复制到一个Excel工作表中,排序,然后手动删除重复项。我想知道这是否是唯一的方式,或者Access是否有比Excel更好的选项。这个应用程序似乎与Access教程中给出的
示例类似,但我有点迷失。任何帮助表示赞赏。谢谢。

My previous attempt for this project was to copy all the data into one Excel sheet, sort, and then manually delete duplicates. I am wondering if this is the only way or if Access has better options than Excel. This application does not seem similar to the examples given in Access tutorials though so I'm a little lost. Any help is appreciated. Thank you.

推荐答案

嗨TreyAl,

Hi TreyAl,

我认为Access能够帮到你消除联系人列表中的重复项。例如,假设"重复"和"重复"。表示所有字段完全相同,然后使用UNION查询将是获取唯一
联系人列表的最简单(也是最快)的方法。

I think Access will be able to help you eliminate duplicates from your contacts list. For example, assuming "duplicate" means all fields are exactly the same, then using a UNION query would be the simplest (and fastest) way to get a list of unique contacts.

SELECT Field1,Field2, Field3 FROM Table1
$
UNION

SELECT Field1,Field2,Field3 FROM Table2

UNION

SELECT Field1,Field2, Field3 FROM Table3

SELECT Field1, Field2, Field3 FROM Table1
UNION
SELECT Field1, Field2, Field3 FROM Table2
UNION
SELECT Field1, Field2, Field3 FROM Table3

希望它有所帮助......

Hope it helps...


这篇关于帮助请求 - Access 2007 - 交叉引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆