S
sime
I was very pleased to find Larry Linson's tutorial on various ways to
store images in an Access database. As anyone who searches on this
subject would know, the main problem with storing images in the
database (eg. as OLE object) is to avoid database bloat. Larry's method
was great, however each file I stored was still contributing twice it's
weight to the overall .mdb size.
Larry's article is here: http://members.tripod.com/accdevel/imaging.htm
Fortunately, I found a solution to this problem from a couple of old
posts by Roger Abbit. This shows me how to avoid storing the file as a
Unicode format (double-byte) string. Before writing the data to the
field, it is converted to a binary string using ChrB$.
Roger's posts are here:
http://groups.google.com.au/group/c...f9f17?lnk=st&q=&rnum=3&hl=en#62811456f14f9f17
http://groups.google.com.au/group/c...a2425?lnk=st&q=&rnum=6&hl=en#6ada375027ca2425
I would update the relevant threads, but they have been closed by
moderators, so hence a new post for the benefit of weary travellers. If
either of the original authors reads this post: thanks!
Regards, Simon
store images in an Access database. As anyone who searches on this
subject would know, the main problem with storing images in the
database (eg. as OLE object) is to avoid database bloat. Larry's method
was great, however each file I stored was still contributing twice it's
weight to the overall .mdb size.
Larry's article is here: http://members.tripod.com/accdevel/imaging.htm
Fortunately, I found a solution to this problem from a couple of old
posts by Roger Abbit. This shows me how to avoid storing the file as a
Unicode format (double-byte) string. Before writing the data to the
field, it is converted to a binary string using ChrB$.
Roger's posts are here:
http://groups.google.com.au/group/c...f9f17?lnk=st&q=&rnum=3&hl=en#62811456f14f9f17
http://groups.google.com.au/group/c...a2425?lnk=st&q=&rnum=6&hl=en#6ada375027ca2425
I would update the relevant threads, but they have been closed by
moderators, so hence a new post for the benefit of weary travellers. If
either of the original authors reads this post: thanks!
Regards, Simon