Subject | [IBO] my BlobError |
---|---|
Author | Gerhard Knapp |
Post date | 2002-01-28T22:34:11Z |
hi list,
with TQuery i used following:
q_mailMAIL field has Blobtyp: ftBlob
(i tried also ftMemo)
reading the blob:
mailstream:= TBlobstream.create(dmx.q_mailMAIL, bmread);
memo1.lines.loadfromstream(mailstream);
mailstream.free;
writing the blob:
q_mail im insertstatus
....
docXstream:= TBlobstream.create(dmx.q_mailMAIL, bmwrite);
memo2.lines.savetostream(docXstream);
docXstream.free;
...
q_mail.post
with TIBOQuery i got a Typ-Error, what can i do?
- gerhard
with TQuery i used following:
q_mailMAIL field has Blobtyp: ftBlob
(i tried also ftMemo)
reading the blob:
mailstream:= TBlobstream.create(dmx.q_mailMAIL, bmread);
memo1.lines.loadfromstream(mailstream);
mailstream.free;
writing the blob:
q_mail im insertstatus
....
docXstream:= TBlobstream.create(dmx.q_mailMAIL, bmwrite);
memo2.lines.savetostream(docXstream);
docXstream.free;
...
q_mail.post
with TIBOQuery i got a Typ-Error, what can i do?
- gerhard