Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

attaching photos access database

Forum home » Delegate support and help forum » Microsoft Access Training and help » Attaching photos to Access Databases

Attaching photos to Access Databases

ResolvedVersion 2003

Rachel has attended:
Access Introduction course

Attaching photos to Access Databases

Is it possible to attach photographs to an Access Database?

Edited on Mon 7 Apr 2008, 18:26

RE: Attaching photos to Access Databases

Hi Rachel, Thank you for the post, welcome to the forum, in answer to your question yes, For forms and reports, Access will happily accept Windows bitmap (.bmp) files as OLE objects and you should not need a separate graphics filter installed to insert Enhanced Metafile (.emf), and (.rle, .dib) files, or Windows Metafile (.wmf), and icon (.ico) graphics.
However, you will need a graphics filter installed to insert all other graphics file formats, if you have to use .jpg files you may have to use a filter to accomplish this. You should ensure that your photographs have been correctly identified with unique names/numbers etc. it would also help if they were all (or copies of them) were in the same folder.
Then follow these steps:
In your table in design view create an OLE object field.
Save the table, in Table view select the blank field in the record of your choice and from the Insert menu select Object, from the dialog box that opens, select Create from file and click Link and then Browse, navigate to your folder and select the correct photo for that record. Create a Form based on the table or query which has the OLE field in it and you should then be able to view your photo on the correct record. If you are not using the .bmp file format, it is possible that you may see the text "Package" in the field, if this is the case your picture will not display in the form or report. I hope that has helped, if so please click the Resolved link, best regards Pete.

Access tip:

Splittng a database

Split your database into two (at least).

Keep all of your code, forms, reports, etc. in one 'code' database and all of your tables in another 'data' database which is then linked to the 'code' database.

This makes modifications, updates and back-ups that much easier and allows you to work on a new version of your 'code' database without affecting existing users. It also makes it easier should you wish to convert a single user databases into a multi-user networked version.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.