Pictures.mdb (beginner)

Please consider donating $1 per sample downloaded, find out why here
Download
Pictures.zip
Access 97 & 2000 (231 KB)

It is usually preferable NOT to store OLE objects like pictures in the table itself. It causes massive database bloat. The usual solution is to store the pictures as files on the hard drive and store the file name in the table. This sample demonstrates how to to this.

1) Store the pictures (in this case JPEGs) in the same directory as the database. 2) Store the appropriate picture name in the table. 3) Programmatically set the .Picture property of an Image Box to the appropriate file in the On Current event of the form.

 

Feedback

 

Need Winzip?

Return to Main Page