Hi Giannis,
It is not necessary to cross-post to so many newsgroups.
Usually, the best way to handle images with Access is to leave them in
their original files (jpg, bmp or another format) and simply to store
the names and locations of these files in your table. Storing the images
themselves in an OLE field causes the size of the mdb file to "bloat"
beyond reason.
Arvin Meyer's PictureMgr sample database at
http://www.datastrat.com/DataStrat2.html demonstrates techniques for
managing images as external files.
You can create a textfile containing a list of your image files that can
be imported into an Access table:
1) Open a command prompt (DOS prompt)
2) Using the CD command, navigate to the folder containing the images,
or the folder containing subfolders that contain the images
3) Create the textfile with a command like this:
DIR /B *.jpg > "C:\folder\List of JPG.txt"
If the image files are also in subfolders, use the /S switch also:
DIR /B /S *.jpg > "C:\folder\List of JPG.txt"
I want make a table with 500 images.
How can import these pictures in the table
not one by one but all together?
Is there a way write a code in VB for this
purpose ?
The pictures importing as Ole Objects ?
Saved as .jpg or as .bmp ?
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.