[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: any way to jump BACK a page?
- Subject: Re: any way to jump BACK a page?
- From: Andrew Lin <alin@TECHNEGLAS.COM>
- Date: Tue, 9 Jul 2002 16:49:07 -0400
Rick, Steve, thanks for your pearls of wisdom.
I was hoping I wouldn't have to switch to arrays since that would mean
recoding quite a bit.
Guess it's either that or force the user to deal with really ugly
reports :) .
Thanks.
-Andrew
>>> rlynds@MWDH2O.COM 07/09/02 04:13PM >>>
As I understand it, an entire page is held in memory until going to the
next
pages forces it to flush. Once a page is flushed, there is no going
back.
I like Steve's response about doing the work in arrays for this sort
of
formatting.
HTH
Rick
-----Original Message-----
From: Andrew Lin [mailto:alin@TECHNEGLAS.COM]
Sent: Tuesday, July 09, 2002 12:28 PM
To: SQR-USERS@list.iex.net
Subject: any way to jump BACK a page?
Hi all,
Is there any command that allows you to jump back a page in SQR?
I'm printing a report that displays columns of data with subtotals at
the bottom of each column. ie
Group1:
Earnings Taxes
1 1
2 2
3 3
4 4
5 5
6 6
7
8
9
-- --
total A total B
Every time I start a new group, I simply note the #current-line and
then use the position command to jump back to the start of the column
before printing the next column. The only problem is if one of the
columns extends to the next page. Then my results end up looking
like:
Group 1
Earnings
1
2
3
...
65
66
------------------page break-----------------
67
68
69
--
Total A
Taxes
1
2
3
4
5
--
Total B
I'd like the SQR to be able to jump back to the original start page.
Is this possible?
Thanks!
-Andrew