Problema ao Contar os Registros de um Table
Olá, estou com o seguinte problema, tenho um campo V\lor numa Table, quero contar e somar os valores de cada registro dese campo... porem todos os codigo q fiz ele nao conta o ultimo registro.. segue os codigo q fiz:
Table1.first;
repeat
....
table1.next
until table1.eof;
e fiz assim tbm:
for i := 0 to table1.recordcount -1 do
begin
....
end;
e nada dele contar o ultimo registro...
alguem sabe como solucionar este problema?
Desde jah agradeco.
Forca Sempre
Table1.first;
repeat
....
table1.next
until table1.eof;
e fiz assim tbm:
for i := 0 to table1.recordcount -1 do
begin
....
end;
e nada dele contar o ultimo registro...
alguem sabe como solucionar este problema?
Desde jah agradeco.
Forca Sempre
Titanius
Curtidas 0
Respostas
Motta
21/07/2003
table1.first;
while not (table1.eof) do
begin
...
table1.next;
end;
while not (table1.eof) do
begin
...
table1.next;
end;
GOSTEI 0