I understand I wasn't very clear in my prior message...

The question is to know if there is a way of resetting the PAGNBR? For instance
if you print several invoices and need to start over the page number for each
invoice.

Thanks anyway!

Ricardo Alves





dbryant@banpharm.com on 27-06-2000 12:36:59

Please respond to RPG400-L@midrange.com

To:   RPG400-L@midrange.com
cc:    (bcc: Ricardo Alves/VC/PT/BRAIN)

Subject:  Re: How to reset PAGNBR?






I'm not sure I understand.  Did you make the pagnbr in RLU a constant field and
select the pagnbr keyword? If so, when you select the page number keyword, the
option indicators are right there. I don't know of a  way to control resetting
the page number within RLU within the same report. Is that what you are trying
to do? If so, you may want to make a numeric field in RLU for your page number
and control the page numbers within your RPG (yuk).
If anyone else knows how to reset the page number within RLU, I would like to
know how. Though I have not yet encountered a need for it, who knows what the
future holds.

Have a great day!
Darlene Bryant



|--------+--------------------------->
|        |          "Ricardo Alves"  |
|        |          <Ricardo.Alves@br|
|        |          ainag.com>       |
|        |                           |
|        |          06/27/2000 12:27 |
|        |          PM               |
|        |          Please respond to|
|        |          RPG400-L         |
|        |                           |
|--------+--------------------------->
  >--------------------------------------------------------|
  |                                                        |
  |       To:     RPG400-L@midrange.com                    |
  |       cc:     (bcc: Darlene H Bryant/Banpharm)         |
  |       Subject:     How to reset PAGNBR?                |
  >--------------------------------------------------------|











Hello all

Situation: Printing several documents; counting the pages within the documents.
Using RLU I inserted PAGNBR. Checking the respective SEU source I see that there
is an indicator 33. But I canīt see it  in RLU.
In the RPG programm the overflow is controlled via *IN99.

Problem: I've tryed many ways to reset the count when I change the document, but
no success.

Any sugestion?

Thanks!

Ricardo Alves
______________________________


Ricardo Alves
BRAIN Portugal
Tel: +351 252 248 123
Fax: +351 252 248 111
E-Mail:  Ricardo.Alves@brainag.com       ricardoalves@hotmail.com




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---







Hello all

Situation: Printing several documents; counting the pages within the documents.
Using RLU I inserted PAGNBR. Checking the respective SEU source I see that there
is an indicator 33. But I canīt see it  in RLU.
In the RPG programm the overflow is controlled via *IN99.

Problem: I've tryed many ways to reset the count when I change the document, but
no success.

Any sugestion?

Thanks!

Ricardo Alves
______________________________


Ricardo Alves
BRAIN Portugal
Tel: +351 252 248 123
Fax: +351 252 248 111
E-Mail:  Ricardo.Alves@brainag.com       ricardoalves@hotmail.com




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.