count of query results in for loop

Started by Sim Zacksover 16 years ago2 messagesgeneral
Jump to latest
#1Sim Zacks
sim@compulab.co.il

Is there any way to (without a separate count query first) to know the
number of rows returned in a:

for x in select ... Loop

...

End Loop

structure?

#2Laurenz Albe
laurenz.albe@cybertec.at
In reply to: Sim Zacks (#1)
Re: count of query results in for loop

Sim Zacks wrote:

Is there any way to (without a separate count query first) to know the
number of rows returned in a:

for x in select ... Loop

...

End Loop

structure?

No. Not before you exit the loop.

Yours,
Laurenz Albe