I need to attach an image file to each record in a table, because I want them to show up in one of my reports. Instead of actually attaching the image, I am creating a ShortText field where I will put the path to the file (which lives on my hard drive). This way the size of my database won't get too big once I have thousands of images attached.
I will be using this database on two different computers, and depending on which computer, the path where the images will be stored will be slightly different.
The two paths will be:
Desktop computer -- C:\Users\Matt\OneDrive\Documents\Images
Laptop computer -- C:\Users\MattC\OneDrive\Documents\Images
(The database itself will live in "\OneDrive\Documents")
I have tried using "\Images\imagefile.png" in the field of my table, but the image doesn't show up on my report. So, what I'm wondering is, how can I list the path so that the images can live inside a folder WITHOUT listing the entire path in my table field? Is that even possible?
BTW, I'm using Access 2016.