Subject | Re: [IBO] Howto iterate through all selected rows |
---|---|
Author | Helmut Steinberger |
Post date | 2001-11-22T11:17:37Z |
"Am Thu, 22 Nov 2001 06:55:32 +0000 (UTC), schrieb mirco@...
query1.first;
while not query1.eof do
begin
........ do anything you want
query1.next;
end;
>How do I iterate through all selected rows in a query, that is have aquery1.sql.text := 'select * from xxx';
>loop that gets executed for every row where the selected property is
>true.
query1.first;
while not query1.eof do
begin
........ do anything you want
query1.next;
end;