Subject | RE: [ib-support] Cursors are allowed?!??! |
---|---|
Author | Tobias Giesen |
Post date | 2002-09-20T00:16:55Z |
Hello,
many thanks to Todd Bennett for the answer:
-------------
for
select field1.table1,
field2.table1
from table1
into
:field1,
:field2
as cursor c
do begin
if ( condition here) then begin
delete from table1 // or update
where current of c;
end
end
-------------
Cheers,
Tobias
many thanks to Todd Bennett for the answer:
-------------
for
select field1.table1,
field2.table1
from table1
into
:field1,
:field2
as cursor c
do begin
if ( condition here) then begin
delete from table1 // or update
where current of c;
end
end
-------------
Cheers,
Tobias