Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Addressed for Version 2.00 » View Incident Report |
Serious |
Reported By: Roy Lambert Reported On: 6/13/2008 For: Version 2.00 Build 1 |
function StreamMemoToTableFldd: string; SrcTbl: TEDBDataset; DestTbl: TEDBTable; OpenExclusive: boolean = False): boolean; var ms: TMemoryStream; begin try DestTbl.Close; DestTbl.Exclusive := True; ClearTable(DestTbl); DestTbl.Close; DestTbl.Exclusive := OpenExclusive; DestTbl.Open; if not SrcTbl.FieldByName(Fld).IsNull then begin ms := TMemoryStream.Create; TMemoField(SrcTbl.FieldByName(Fld)).SaveToStream(ms); try if ms.Size > 0 then begin DestTbl.LoadFromStream(ms); <<<<<<<<<<<<<<<<<<<<<<<< #1003 DestTbl.Refresh; DestTbl.First; end; finally ms.Free; end; end; Result := True; except Result := False; end; end;
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |