I have a MS Access 2007 database with a list of thousands of people, that includes their id number, name, status, link to photo file location, etc. I took a couple hundred pictures that had to wait to be entered into the "photo" field, because I had no id numbers for them at the moment. Now, I do have a txt file with a list of a couple hundred files that are named after their id numbers. It looks like this:
What I want to do is follow a few steps in Access 2007 (compacted into a macro or a couple of functions) that would:
1. read the txt file
2. find an entry for each id number listed, by taking, say, 007733 out of 007733.jpg and looking it up in the "idnumber" column
3. update those couple hundreds of entries so that, for instance, an entry with 007733 in the "idnumber" column it would have: N:\photos\007733.jpg in the "photo column
You suggestions are most welcome!