Bug while extracting from blob field
Posted: Fri 12 Aug 2011 09:23
in the 0.24 version is a serious bug when you try to extract a file stored in a blob field following code:
FS := TFileStream.Create(NewFileName,fmCreate);
BS := dm.thefile.CreateBlobStream(dm.thefile.FieldByName('datei'),bmRead);
FS.CopyFrom(BS,BS.Size);
BS.Free;
FS.Free;
the progam does nothing and fails
in the 0.22 version it works
could you fix that cause with 0.22 version i always get in network use a error when i refresh the data after some time
FS := TFileStream.Create(NewFileName,fmCreate);
BS := dm.thefile.CreateBlobStream(dm.thefile.FieldByName('datei'),bmRead);
FS.CopyFrom(BS,BS.Size);
BS.Free;
FS.Free;
the progam does nothing and fails
in the 0.22 version it works
could you fix that cause with 0.22 version i always get in network use a error when i refresh the data after some time