Hi All
I am just starting out on a new Access project.
Basically what I have in Access is a table which lists jobs via their HB Number (as well as a ID number access gives them). For each job there is a bunch of details and some Yes/No fields.
Each day I will get a dump from another system that will list jobs like this, I then need to "Update" the Access table with any new information from the excel dump. The update would need to:
1. Insert new records (jobs) from Excel dump into Access Table
2. Update any of the records fields (except HB of course as its unique) in the access table from the Excel dump (the Excel dump obviously wont have access ID numbers, but will have the HB)
For a real basic example:
Access Table Like So:
[TABLE="width: 500"]
[tr]
[td]
ID
[/td]
[td]
HB
[/td]
[td]
Finished
[/td]
[/tr]
[tr]
[td]
1
[/td]
[td]
5A
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
2
[/td]
[td]
5B
[/td]
[td]
No
[/td]
[/tr]
[tr]
[td]
3
[/td]
[td]
5C
[/td]
[td]
No
[/td]
[/tr]
[tr]
[td]
4
[/td]
[td]
5D
[/td]
[td]
No
[/td]
[/tr]
[/TABLE]
Excel Dump looks like this:
[TABLE="width: 500"]
[tr]
[td]
HB
[/td]
[td]
Finished
[/td]
[/tr]
[tr]
[td]
5A
[/td]
[td]
No
[/td]
[/tr]
[tr]
[td]
5B
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
5C
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
5D
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
5E
[/td]
[td]
No
[/td]
[/tr]
[/TABLE]
So some Yes/No's are different and there is a new HB called "5E"
After the "update" Access should look like this:
[TABLE="width: 500"]
[tr]
[td]
ID
[/td]
[td]
HB
[/td]
[td]
Finished
[/td]
[/tr]
[tr]
[td]
1
[/td]
[td]
5A
[/td]
[td]
No
[/td]
[/tr]
[tr]
[td]
2
[/td]
[td]
5B
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
3
[/td]
[td]
5C
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
4
[/td]
[td]
5D
[/td]
[td]
Yes
[/td]
[/tr]
[tr]
[td]
5
[/td]
[td]
5E
[/td]
[td]
No
[/td]
[/tr]
[/TABLE]
This example is overly simple, the actually data has lots of different fields and many many many more records. But yeah basically need to update the table from an excel dump.
Any ideas on how to do this? I thought it was as simple as doing a Excel Import > Append Table thing in Access, but that just seems to add the new records and ignore the updated fields?
Thanks in advance
Cheers
Also posted here: http://www.mrexcel.com/forum/m…ad-sheet.html#post3790734