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
java.lang.NoClassDefFoundE
rror: TestZone/java
Setting Up Coldfusion Builder to Use A Remote Server
Configuration Status error on TMG 2010 Enterprise
Virtual Memory
KB973544
check constraint date ranges
freezer healing on side
VB6 end of support - consequences for practice
If Statement for a Width in a mx:Text
find textbox and start div underneath it