I do not recommend you to store images in a database, because of
MS Access specifications and limitations[
^].
Quote:
Microsoft Access is very inefficient at storing images in tables. A 50 kb jpg file can actually consume 1 Mb in an MDB
source:
http://www.granite.ab.ca/access/imagehandling.htm[
^]
I would suggest you to store images outside the database, for example in a specific folder. In MS Access database you should store image location only.
More about storing images in MS Access database:
Store images in a database[
^]
If you need to store images in MS Access database, some example code, you'll find here:
http://www.programmersheaven.com/mb/vba/314651/314651/saving-bmp-to-ole-field-in-microsoft-access/[
^]. Remember, you're doing it on your own risk!