R
RacinMyLancer
As stated, I'm experience a strange "page numbering" quirk with a merged
document.
Document: For simplicity's sake, we'll invent some easy numbers. I'm
creating a merged doc with 5 records from an Access Table. Each record is 10
pages, so I end up with a 50 page document. The "master" page number list
numbers the pages from 1-50. The "sub" page number list numbers the pages
from 1-10 5 times.
My Program: "Loops" through the different clients... establishes page ranges
(first pages 1-10 for the first record, then 11-20 for the next record, then
21-30, etc. etc.), then prints out those records, using my ranges, using the
"Printout" VBA method.
The Problem: It seems the "Printout" method doesn't know what to do with
"master" and "sub" page numbers when used with a range! My first record
(Pages 1-10) print out perfectly, but NO OTHER RECORDS beyond the first will
print! Remember that for the second record, we're dealing with a "master"
page range of 11-20, and a "sub" page range of 1-10. However, "Printout"
doesn't read the "master" page range (printing the correct pages), or the
"sub" page range (re-printing pages 1-10)... instead it seems confused... and
doesn't print anything at all!
Is this a bug? Is there another way for me to solve this page numbering
problem? (Note: Removing the sub-page numbering produces the desired result,
but I have the page-numbering in the footer of the doc... and I need it
numbered 1-10 on every doc, not 1-10 for the first, 11-20 on the second, etc.)
document.
Document: For simplicity's sake, we'll invent some easy numbers. I'm
creating a merged doc with 5 records from an Access Table. Each record is 10
pages, so I end up with a 50 page document. The "master" page number list
numbers the pages from 1-50. The "sub" page number list numbers the pages
from 1-10 5 times.
My Program: "Loops" through the different clients... establishes page ranges
(first pages 1-10 for the first record, then 11-20 for the next record, then
21-30, etc. etc.), then prints out those records, using my ranges, using the
"Printout" VBA method.
The Problem: It seems the "Printout" method doesn't know what to do with
"master" and "sub" page numbers when used with a range! My first record
(Pages 1-10) print out perfectly, but NO OTHER RECORDS beyond the first will
print! Remember that for the second record, we're dealing with a "master"
page range of 11-20, and a "sub" page range of 1-10. However, "Printout"
doesn't read the "master" page range (printing the correct pages), or the
"sub" page range (re-printing pages 1-10)... instead it seems confused... and
doesn't print anything at all!
Is this a bug? Is there another way for me to solve this page numbering
problem? (Note: Removing the sub-page numbering produces the desired result,
but I have the page-numbering in the footer of the doc... and I need it
numbered 1-10 on every doc, not 1-10 for the first, 11-20 on the second, etc.)