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
Excel VBA Bloomberg function
Black marks over the text of some PDF docs in adobe reader (like hightlights).
Select an element Jquery.
Creation of RAID device fails
Unix Shell script or Perl script to merge two csv text files based on a common key column
WRVS4000 Router in front of Cisco ASA
Why is my border not wrapping around all of my content in firefox??
How can I get an email to release its hold on an attachment after sending?
How to open new pdf window using struts ?
Radio button Dependency using JSF and Apache Trinidad