| |
| Copying a information from one memo field to another using TBlobStream |
 |
How do I copy information from one memo field in one table to another memo field in another table?
procedure TForm .Button Click(Sender: TObject);
var
BS , BS2: TBlobStream;
begin
BS := TBlobStream.Create(Table Notes,bmRead);
try
Table2.Edit;
BS2 := TBlobStream.Create(Table2MyBlob,bmReadWrite);
try
BS2.CopyFrom(BS ,BS .Size);
finally
BS2.Free;
end;
finally
BS .Free;
end;
Table2.Post;
end;
|
|
| Hits/month |
2,500,000+ |
Downloads (Since May 2000) |
7,393,709 |
| Total Files |
6,023 |
| Forum msgs |
7,670 |
| Articles/FAQs |
70+/900+ |
Top Selling Software at Amazon
|