'Using VBA in Access to Add/import attachments using column with file location

I'm trying mass import attachments onto a table without having to do them one-by-one.

The Database name is "Student_DB-plaintext" table name is "Letters_add_photo" Primary key is "ID (AutoNumber)"

There is a short text column named "Attachment_Location" on the table that names the exact file location and name of the file that I want attached to the record. (ex. = W:user/images/JohnSmith.jpg).

I did find a similar ask a while back but it seems to reference a .txt file of the file locations which I don't have.

Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source