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

last page problem



Okay, here's another one. The report I'm creating is composed of several
small 'reports'. By that I mean that the entire report consists of
summaries of a number of pharmacies. Once a particular pharmacy's summary
is complete, a new page is begun and then next pharmacy's summary is
printed. This is all being done as a single report. Now, my problem is
that I would like each summary to have a page report, so that for
pharmacy 1 the header would say 'Page 1 of 3'. When it's pharmacy 2's
turn, the page count should reset and it's heading should say 'Page 1 of
5' and so on. The closest I've been able to get is to have the entire
report numbered (ie. page 1 of 50 - the entire report), or the numbering
goes completely haywire and prints 'page 1 of 2, page 2 of 2, page 3 of
2'..etc. From what I've read about the last-page command it waits and
computes the number of pages for the entire report. Is there a way to
reset this in mid report? Any help would be great.

-Adem
hamidoam@tuns.ca