Entwickler-Ecke

Datenbanken - Blob filed in Access


Tim - Di 03.02.04 16:04
Titel: Blob filed in Access
HI,
How can i save word document from blob-field in Access to graphical file
beforehand thanks


Udontknow - Di 03.02.04 17:28

Hello there!

I don´t actually understand your problem. What do you mean when talking about a "graphical file"? If you want it to become a bitmap or a jpeg, this would not be a db-problem, but a conversion matter.
You could use a TStream-successor like TFileStream or TMemoryStream and the methods TBlobfield.LoadFromStream/SaveToStream to read any data from the field.

Cu, :)
Udontknow


Tim - Di 03.02.04 19:42

Udontknow hat folgendes geschrieben:
Hello there!

I don´t actually understand your problem. What do you mean when talking about a "graphical file"? If you want it to become a bitmap or a jpeg, this would not be a db-problem, but a conversion matter.
You could use a TStream-successor like TFileStream or TMemoryStream and the methods TBlobfield.LoadFromStream/SaveToStream to read any data from the field.

Cu, :)
Udontknow


Yes, I need a bitmap,
What I must use or where I receive answer about conversion matter?

And else, when I save as a stream equally ole-word object to file from OleConteiner and from MsAccess2003, I have two files with different size. Why? Ole - definite format.