[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
dynamic loops
- Subject: dynamic loops
- From: Aleksandra Polniak <opolniak@AIUT.COM.PL>
- Date: Mon, 16 Sep 2002 09:22:56 +0200
Hello
I am new to SQR, so forgive me if this is "stupid question" but I can't find
answer anywhere. I need to make a loop in my report in order to print only at
most X measurements. Parameter X should be taken from user at runtime.
I wrote something like that:
Begin-Select loops=20
.....
End-Select.
This works great.
But this code:
Begin-Select loops=[$max]
...
End-Select
doesn't work anymore. Is there any way to do what I want? And second question.
Why the first construction execute loop exactly 20 times, not at most 20 times?!
I would be very grateful for help
Aleksandra Polniak