Subject | Re: [IBO] Store an Restore a file from a BLOB field |
---|---|
Author | Dmitry Beloshistov |
Post date | 2005-01-19T12:42:39Z |
Hello, skander_sp!
You wrote to <IBObjects@yahoogroups.com> on Wed, 19 Jan 2005 11:51:06 -0000:
ss> I now have used Assign() and AssignTo() methods to put and get from
ss> a file...
TIB_ColumnBlob(FieldByName('MYBLOBFIELD')).AssignTo(MyStream); // blob ->
stream
TIB_ColumnBlob(FieldByName('MYBLOBFIELD')).Assign(MyStream); //
stream -> blob
WBR,Dmitry Beloshistov AKA [-=BDS=-]
You wrote to <IBObjects@yahoogroups.com> on Wed, 19 Jan 2005 11:51:06 -0000:
ss> I now have used Assign() and AssignTo() methods to put and get from
ss> a file...
TIB_ColumnBlob(FieldByName('MYBLOBFIELD')).AssignTo(MyStream); // blob ->
stream
TIB_ColumnBlob(FieldByName('MYBLOBFIELD')).Assign(MyStream); //
stream -> blob
WBR,Dmitry Beloshistov AKA [-=BDS=-]