Subject | Re[2]: [IBO] Getting validation source from a domain |
---|---|
Author | Carlos Tré |
Post date | 2006-10-18T14:29:14Z |
Helen,
Wednesday, October 18, 2006, 10:10:35 AM, you wrote:
[...]
curCHTEbrw.First();
CursorRows := curCHTEbrw.RecordCount;
RowsCount := 0;
while (
(not curCHTEbrw.Eof)
and
(not AbortSQL)
)
do begin
[...]
curCHTEbrw.Next();
RowsCount := RowsCount + 1;
if ((RowsCount mod ProgStep)=0) then begin
ProgressBar.Position := Round((RowsCount*100) / CursorRows);
Application.ProcessMessages();
end;
[...]
end;
[...]
and all of them work as intended, curCHTEbrw.RecordCount returning a value that reflects exactly the value RowsCount will have when EOF is reached. Has anything changed in this regard? Will this be a source for potential problems if I need to upgrade (currently Delphi 5 and IBO 4.2Ie)?
Thanks in advance.
--
Best,
Carlos
[Non-text portions of this message have been removed]
Wednesday, October 18, 2006, 10:10:35 AM, you wrote:
>> result := lCursor.RecordCount > 0;I've got tons of lines similar to
> RecordCount is meaningless. An IB_Cursor doesn't know about it. It
> has a single-row buffer.
[...]
curCHTEbrw.First();
CursorRows := curCHTEbrw.RecordCount;
RowsCount := 0;
while (
(not curCHTEbrw.Eof)
and
(not AbortSQL)
)
do begin
[...]
curCHTEbrw.Next();
RowsCount := RowsCount + 1;
if ((RowsCount mod ProgStep)=0) then begin
ProgressBar.Position := Round((RowsCount*100) / CursorRows);
Application.ProcessMessages();
end;
[...]
end;
[...]
and all of them work as intended, curCHTEbrw.RecordCount returning a value that reflects exactly the value RowsCount will have when EOF is reached. Has anything changed in this regard? Will this be a source for potential problems if I need to upgrade (currently Delphi 5 and IBO 4.2Ie)?
Thanks in advance.
--
Best,
Carlos
[Non-text portions of this message have been removed]