Edit and post on the last record of a table does not set eof to true
Posted: Thu 13 Mar 2008 09:14
Hey,
I'm using MyDAC 5.20.1.14 with delphi 2006
I have the following code:
that seems to get stuck on the last record of the table causing an infinite loop, on other records it just posts and go to the next record as the normal behaviour i suppose
I'm merging from paradox and the same code works there normally..
Is this a problem in myDAC, or is it a new behavior for post?
I'm using MyDAC 5.20.1.14 with delphi 2006
I have the following code:
Code: Select all
while not Telephone.eof do begin
Telephone.edit;
TelephoneLedger_number.asstring:=sender.AsString;
Telephone.post;
end;
I'm merging from paradox and the same code works there normally..
Is this a problem in myDAC, or is it a new behavior for post?