I
ibvalentine
I am doing some experimenting and I am having problems displaying images with
a relative path. In the Northwind sample database (Access 2003), there is an
Employees table that has a field named Photo. The external photos are in the
same folder as the database so just the file name is entered in the table
field (EmplD1.bmp, EmplD2.bmp, etc.). But if I were building a database, I
would want the photos to be in a separate folder, so I created a folder and
named it "Photos" and moved photo files into that folder. Now I returned to
the Employees table and changed the contents to the Photo field to
"photos\EmplD1.bmp." My photos will not display with this relative path. An
absolute path works but not a relative path. The absolute path is as follows:
C:\\Program Files\Microsoft Office\OFFICE11\SAMPLES\photos\EmplD2.bmp
a relative path. In the Northwind sample database (Access 2003), there is an
Employees table that has a field named Photo. The external photos are in the
same folder as the database so just the file name is entered in the table
field (EmplD1.bmp, EmplD2.bmp, etc.). But if I were building a database, I
would want the photos to be in a separate folder, so I created a folder and
named it "Photos" and moved photo files into that folder. Now I returned to
the Employees table and changed the contents to the Photo field to
"photos\EmplD1.bmp." My photos will not display with this relative path. An
absolute path works but not a relative path. The absolute path is as follows:
C:\\Program Files\Microsoft Office\OFFICE11\SAMPLES\photos\EmplD2.bmp