How to import .gif files into our database for printing by using .

S

Sam J.

We are trying to import .gif files into our Access database so that we can
print individual pages that has an individual's photo with information taken
from the database. Currently, we put each photo in one at a time into the
database. Does anyone have a suggestion regarding visual basic code we could
use so this could be done automatically?
 
S

solex

Sam,

In general I would recommend against storing any kind of Binary Large Object
(BLOB) in the database and would recommend instead that you create a
directory structure and store the url or path to the file. But if you must
store a BLOB look in the help under DAO or ADO for the AppendChunk method.
Basically you will open the file using standard file I/O techniques and read
in chunks of the file into your Binary Field in the database.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top