sorry my BIG bug!



Sorry!
I found the errore... was my bug!
much sorry...

Filippo F. wrote:
Hello!
I have a TADOTable named TOre. The index field is IDOra.
My code is
[...]
var counter,counterstr:integer;
begin
[...]
TOre.Open;
TOre.Last;
counter:=TOre.FieldByName('IDOra').asinteger;
counterstr:=StrToInt(TOre.FieldByName('IDOra').asString);

The fact is that I have always counter<>conterstr
and counter seems to be always 1!!! and it would be 62664 as counterstr is...

where's my error?
thanks in advance!
Filippo
_____________________________________
Filippo Forlani
web page: http://filfox.homelinux.net
.