Board index » delphi » Reading and Writing Record Type (structure) in BLOB field - Stream read error
Sean Bertinotti
![]() Delphi Developer |
Thu, 10 Nov 2005 22:43:58 GMT
Reading and Writing Record Type (structure) in BLOB field - Stream read error
Hey there,
I'm trying to save a record to my blob field in an interbase database, and Interbase 6.02 These are the records I'm trying to save: TBinLabelItem = record TBinLabel = record I use this to save the record into the BLOB. I assume this is working fine, Stream.WriteBuffer(BinLabel,SizeOf(BinLabel)); And this to load the record : MemStream := TMemoryStream.Create; Try TBlobField(Query.FieldByName('BINLABEL')).SaveToStream(MemStream); DrawLabel; Please if anybody knows what I'm doing wrong or a better way to do this Kind regards Ps if possible to e-mail answer to s...@b3solutions.co.za |