|
@@ -1482,7 +1482,7 @@ begin
|
|
Open;
|
|
Open;
|
|
while not EOF do
|
|
while not EOF do
|
|
Next;
|
|
Next;
|
|
- RecNo:=0;
|
|
|
|
|
|
+ RecNo:=1;
|
|
|
|
|
|
DumpLn(Format('<p>Record count: %d </p>',[Q.RecordCount]));
|
|
DumpLn(Format('<p>Record count: %d </p>',[Q.RecordCount]));
|
|
Try
|
|
Try
|
|
@@ -1981,9 +1981,9 @@ begin
|
|
if FRunID<>'' then
|
|
if FRunID<>'' then
|
|
S:=S+' AND (TR_TESTRUN_FK='+FRunID+')';
|
|
S:=S+' AND (TR_TESTRUN_FK='+FRunID+')';
|
|
If FOnlyFailed then
|
|
If FOnlyFailed then
|
|
- S:=S+' AND (TR_OK="-")';
|
|
|
|
|
|
+ S:=S+' AND (NOT TR_OK)';
|
|
If FNoSkipped then
|
|
If FNoSkipped then
|
|
- S:=S+' AND (TR_SKIP="-")';
|
|
|
|
|
|
+ S:=S+' AND (NOT TR_SKIP)';
|
|
If FCond<>'' then
|
|
If FCond<>'' then
|
|
S:=S+' AND ('+FCond+')';
|
|
S:=S+' AND ('+FCond+')';
|
|
|
|
|
|
@@ -2091,7 +2091,7 @@ begin
|
|
|
|
|
|
DumpLn(Format('<p>Record count: %d </p>',[Q.RecordCount]));
|
|
DumpLn(Format('<p>Record count: %d </p>',[Q.RecordCount]));
|
|
if RecordCount>0 then
|
|
if RecordCount>0 then
|
|
- RecNo:=0;
|
|
|
|
|
|
+ RecNo:=1;
|
|
|
|
|
|
Try
|
|
Try
|
|
{ if FDebug then
|
|
{ if FDebug then
|
|
@@ -2115,7 +2115,7 @@ begin
|
|
version_ind:=FieldByName('TV_ID').Index;
|
|
version_ind:=FieldByName('TV_ID').Index;
|
|
date_ind:=FieldByName('Date').Index;
|
|
date_ind:=FieldByName('Date').Index;
|
|
run_ind:=FieldByName('TU_ID').Index;
|
|
run_ind:=FieldByName('TU_ID').Index;
|
|
- For i:=0 to Q.RecordCount-1 do
|
|
|
|
|
|
+ For i:=1 to Q.RecordCount do
|
|
begin
|
|
begin
|
|
Q.RecNo:=i;
|
|
Q.RecNo:=i;
|
|
inc(total_count);
|
|
inc(total_count);
|
|
@@ -2285,7 +2285,7 @@ begin
|
|
CellEnd;
|
|
CellEnd;
|
|
if assigned(cpu_count) then
|
|
if assigned(cpu_count) then
|
|
begin
|
|
begin
|
|
- for i:=0 to cpu_last do
|
|
|
|
|
|
+ for i:=1 to cpu_last do
|
|
if cpu_count^[i,TS]>0 then
|
|
if cpu_count^[i,TS]>0 then
|
|
begin
|
|
begin
|
|
RowNext;
|
|
RowNext;
|
|
@@ -2309,7 +2309,7 @@ begin
|
|
end;
|
|
end;
|
|
if assigned(os_count) then
|
|
if assigned(os_count) then
|
|
begin
|
|
begin
|
|
- for i:=0 to os_last do
|
|
|
|
|
|
+ for i:=1 to os_last do
|
|
if os_count^[i,TS]>0 then
|
|
if os_count^[i,TS]>0 then
|
|
begin
|
|
begin
|
|
RowNext;
|
|
RowNext;
|
|
@@ -2336,7 +2336,7 @@ begin
|
|
|
|
|
|
if assigned(version_count) then
|
|
if assigned(version_count) then
|
|
begin
|
|
begin
|
|
- for i:=0 to version_last do
|
|
|
|
|
|
+ for i:=1 to version_last do
|
|
if version_count^[i,TS]>0 then
|
|
if version_count^[i,TS]>0 then
|
|
begin
|
|
begin
|
|
RowNext;
|
|
RowNext;
|
|
@@ -2365,7 +2365,7 @@ begin
|
|
if total_count>0 then
|
|
if total_count>0 then
|
|
begin
|
|
begin
|
|
TableEnd;
|
|
TableEnd;
|
|
- RecNo:=0;
|
|
|
|
|
|
+ RecNo:=1;
|
|
end;
|
|
end;
|
|
If FDebug or FListAll then
|
|
If FDebug or FListAll then
|
|
begin
|
|
begin
|