[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: page-counts



Use your own variable like this
   If #page-count > #pageNum
      Let #pageNum = #page-count
   End-If
or some variation of it.

Dave Benzenhafer

-----Original Message-----
From: Poonam Auluck [mailto:poonam.auluck@AMS.COM]
Sent: Thursday, September 19, 2002 2:37 PM
To: SQR-USERS@list.iex.net
Subject: page-counts


Hi All -

Just had a quick question which hopefully someone can answer for me!
Is it possible for me to go between pages in the a report?

I have some fields that continue on to another page.  But after printing
the rows on the new-page, I would like to print fields on the first page of
my form.  I thought about using the page-count function.  Once I created
the new-page, my #page-count displays 2.  I would like to reset this
#page-count to 1 if I can.  Do you think that's possible?

In terms of SQR, I was able to get this:

show #page-count              !this displays 2
let #page-count = 1
show #page-count              !now, this reads 1

Since I'm on the first page, I would like to have some print statements
print on the first page, but SQR still thinks it's on page 2, rather than
1.

Any ideas??

Thanks for all the help!
Poonam