Reported By: Mark Bracey Reported On: 12/11/2005 For: Version 4.22 Build 2
# 2144LoadFromStream Not Reporting Progress Correctly I've had this for a while, I just never bothered to report it, Ijust fix it on each new release.
What?
Range Check Error/Overflow on TempPercentDone : Word
Where?
unit dbisamen.pas
Method
procedure TDataCursor.LoadFromStream(SourceBuffer: PChar;
Line 32522
TempPercentDone:=Trunc(((SourceBufferSize/LoadPos)*100));
The line should be:
TempPercentDone:=Trunc(((LoadPos/SourceBufferSize)*100));
ResolutionFixed Problem on 12/12/2005 in version 4.22 build 3
Products AffectedDBISAM VCL Client-Server DBISAM VCL Client-Server with Source DBISAM VCL Standard DBISAM VCL Standard with Source