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
accessing sonicwall via browser from multiple subnets within same LAN
Need to modify X-Cart to create .csv file for orders
Displaying DD/MM/YYYY from Mysql Timestamp
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
BES and NSPI connections
Can't access variable in code behind page
Is there a user_packages table synonymous to the user_tables table?
Is BO XI and BO edge BI 3.1 the same product?
Error message when replying, sending, openning email in OWA
MAGENTO ENTERPRISE: Need to make static link in category menu (always display throughout layers)