Microsoft
Software
Hardware
Network
Question : Merge data in Access 2003
Dear Experts,
I have a series of excel spreadsheets that I am going to be importing into an Access 2003 contacts database.
One imported I would like to be able to run a duplicate check and merge the records. The merge ideally should do the following:
The duplicate is based upon email and uses the record with the lowest ID number as the master record & if one of the data fields is blank then it merges that data into the master & finally deletes the duplicate.
The exceptions being …
The “Sales” column which is a Yes/No & should come out as a yes if one of the two have a yes (-1)
The source column should be a straight merge separated by a “/”
So for example:
ID source firstname lastname firm Tel email Sales
1 Doc 1 Dave Merge 02072345678
[email protected]
0
2 Doc 2 Dave C Merge Firm A
[email protected]
-1
Should finally come out as
ID source firstname lastname firm Tel email Sales
1 Doc 1/Doc 2 Dave Merge Firm A 02072346789
[email protected]
-1
I hope this makes sense, I have attached the database example if this is easier to follow. There will be no more than one set of records to merge as I shall be running this after each import.
Can anybody help? I really don’t know where to start with this one.
Many thanks
Attachments:
Duplicate-DB.mdb
(200 KB)
(File Type Details)
Duplicate DB example
Answer : Merge data in Access 2003
Try example. You need to start query with button on a form
Random Solutions
Hyper v full Installation remote administration issues
Is there a way to use the recovery partition to reinstall the OS if the drive won't boot or put it on a new hard drive?
XP Pro SP 3 - Ordinal 423 could not be located in the dynamic link library urlmon.dll
Restoring a Dell studio 1535 to factory default
Sort columns in pivot table.
Set Java Class toString name?
Find GoldMine contacts with a deleted process attached
Remote Desktop Connection to Windows SBS 2008
How to Use Abandoned Local Profile From Different Domain
set virtual host on Apache2.2 and PHP 5.3