Why do you set Stream2 to read-only mode? [CODE] Stream2 := TBlobStream.Create(Table2.Fields[X], bmRead);
Stream2.CopyFrom(Stream1, Stream1.Size); [/CODE] Maybe not the solution to your problem, but this can never work, of course ;) Greetz, Peter. -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[email protected]]namens Nesler, Thomas J Verzonden: vrijdag 23 oktober 2009 22:41 Aan: [email protected] Onderwerp: [delphi-en] Finding Memo fields Hello! I am writing a general purpose Export/Import utility and I need to handle memo fields differently when I am copying data from one table to another. I tried doing this: Try Stream1 := TBlobStream.Create(Table1.Fields[X], bmRead); Stream2 := TBlobStream.Create(Table2.Fields[X], bmRead); Stream2.CopyFrom(Stream1, Stream1.Size); except Showmessage('Unable to Copy Memo field'); ErrorCode := True; end; But I got this syntax error message: [Error] Export.pas(114): Incompatible types: 'TBlobField' and 'TField' The "X" variable denotes the position of the field in the field structure. What do I call the field in my code? I have already trapped for the fields that are memo fields in my procedure. I hope this makes sense...;-)

