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
Shadowing/Overriding in C#
Invalid object reference error
iPad will not sync with Exchange 2003
Access VBA to stop all macros
EtherChannel on Cisco 2960 switch intermittent dropped packet
subquery returned more than 1 value: database vendor code 512
New install of SBS 2008 continuously downloads 2.5GB per day (WSUS disabled)
PHP Pass Parameters to Online Activation Page
Itunes could not connect to the Itunes Store. The network connection timed out.
SBS2003 - Exchange - Cannot open shared mailbox