Edit: OK - Switched to TOracleDataset and it all works
=================================================
I seem to have run into a problem.
I have a scrollable TOracleQuery result set.
I need to keep running through it in a loop to apply values
to items in an outer loop.
Unfortunately, after the first run through the loop and calling:
TOracleQuery.First;
eof remains TRUE so it does not go through the loop again.
What can/should I do?
In case it matters, the test query was only bringing back a single record.
Pseudo Code:
while not outerLoop.eof do begin
query.First;
while not query.eof do begin
query.next;
end;
outerLoop.next;
end;
Thanks,
Clive
=================================================
I seem to have run into a problem.
I have a scrollable TOracleQuery result set.
I need to keep running through it in a loop to apply values
to items in an outer loop.
Unfortunately, after the first run through the loop and calling:
TOracleQuery.First;
eof remains TRUE so it does not go through the loop again.
What can/should I do?
In case it matters, the test query was only bringing back a single record.
Pseudo Code:
while not outerLoop.eof do begin
query.First;
while not query.eof do begin
query.next;
end;
outerLoop.next;
end;
Thanks,
Clive
Last edited: