How to word document stored in the database? ? ?

Category: Delphi -> Database Author: vfeasad Date: 2011-01-18 13:32:30
 
vfeasad
2011-01-18 13:32:30
How to word document stored in the database? ? ?
tinghaichanglang
2011-01-18 13:37:01
var
olestream: TMemoryStream;
olestream: = TmemoryStream.create;
olestream.LoadFromFile (file name) ;
with adotable do
begin
edit;
( FieldByName (field names) as TBlobField). LoadFromStream (olestream);
Post;
olestream.Free ;
end;
qw345374658
2011-01-18 13:43:49
rtf format is a word document, where the word "Save As", you can choose this format, it seems this is the only format with a binary stream read and stored in the database image type field
wsksse0104
2011-01-18 14:00:09
Try using streamed into the image
can type field
ie12254
2011-01-18 14:12:07
seems only rtf format before they can, save to image type of field
ewfe12
2011-01-18 14:19:04
say, word documents can not keep it
?