![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to put something like "Records 1-11" on the first page, "Records 12-20" on the second page, and so on, of a printed layout that has a variable number of records per page. Is this possible? Thanks! |
(
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks a lot for the response. Just to give it a try, which script step would allow me to calculate how many records are on a page, after I'd entered Preview mode? |
#5
| |||
| |||
|
|
Thanks a lot for the response. Just to give it a try, which script step would allow me to calculate how many records are on a page, after I'd entered Preview mode? |
(
#6
| |||
| |||
|
|
In article <1159274784.289156.31610 (AT) k70g2000cwa (DOT) googlegroups.com>, zimbabwhat (AT) gmail (DOT) com wrote: Thanks a lot for the response. Just to give it a try, which script step would allow me to calculate how many records are on a page, after I'd entered Preview mode? Unfortunately it's rather a complicated script that has to loop through all the records backwards flipping between Preview and Browse modes ... and thanks to the bug, there's no guarantee that it'll actually give the correct results. (Basically the script to give each record the page number it (possibly) appears on is: Find Records Loop Go to Last Record Enter Preview Mode Go to Last Page Get Page Number and store with record Enter Browse Mode Omit last record Exit Loop when all records have been omitted End Loop Within this you'd need to work out when the page number changes and store the "Records X - Y" text in another field. (It's probably easiest to use a separate table to store these and link them vai a relationship based on the page number). BUT it's really not worth wasting any time trying it. I used it in one database to calculate a Table of Contents and Index for a directory, but it's slow and because some records can preview on a page different to what they actually print on, you end up with incorrect page numbers in some places. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#7
| |||
| |||
|
|
Thanks a lot Helpful Harry. I think I'll give it a try if I have the time, but I see what you mean that it's a less than ideal - or, potentially unusable - solution. Helpful Harry wrote: In article <1159274784.289156.31610 (AT) k70g2000cwa (DOT) googlegroups.com>, zimbabwhat (AT) gmail (DOT) com wrote: Thanks a lot for the response. Just to give it a try, which script step would allow me to calculate how many records are on a page, after I'd entered Preview mode? Unfortunately it's rather a complicated script that has to loop through all the records backwards flipping between Preview and Browse modes ... and thanks to the bug, there's no guarantee that it'll actually give the correct results. (Basically the script to give each record the page number it (possibly) appears on is: Find Records Loop Go to Last Record Enter Preview Mode Go to Last Page Get Page Number and store with record Enter Browse Mode Omit last record Exit Loop when all records have been omitted End Loop Within this you'd need to work out when the page number changes and store the "Records X - Y" text in another field. (It's probably easiest to use a separate table to store these and link them vai a relationship based on the page number). BUT it's really not worth wasting any time trying it. I used it in one database to calculate a Table of Contents and Index for a directory, but it's slow and because some records can preview on a page different to what they actually print on, you end up with incorrect page numbers in some places. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#8
| |||
| |||
|
|
I want to put something like "Records 1-11" on the first page, "Records 12-20" on the second page, and so on, of a printed layout that has a variable number of records per page. Is this possible? Thanks! |
#9
| |||
| |||
|
|
There is an easy way to do this if you are happy to have the label appear in the footer. Go to layout mode. Start a text block in the header part. Press return a bunch of times until you've created a text block about 11 inches high, then type "Records @@ -" and set the block right-justified. [If you need to create room for this tall, skinny text block, then add a subsummary part that you do not intend to use.] Place a second text block starting in the footer. type simply "@@" in this block. You will need to tweak the alignment of the two text blocks a bit, but it won't be too difficult to give the appearance of a single, neat line of text at the bottom of the page. This works because block 1 is showing the record number in effect at the top of the page, and the block 2 is showing the one in effect at the bottom. Layout objects starting in the header can "hang down" into other parts and simply print as part of the background of the page. If this description is not clear enough I'll be happy to provide an illustration and/or sample file. |
#10
| |||
| |||
|
|
There is an easy way to do this if you are happy to have the label appear in the footer. Go to layout mode. Start a text block in the header part. Press return a bunch of times until you've created a text block about 11 inches high, then type "Records @@ -" and set the block right-justified. [If you need to create room for this tall, skinny text block, then add a subsummary part that you do not intend to use.] Place a second text block starting in the footer. type simply "@@" in this block. You will need to tweak the alignment of the two text blocks a bit, but it won't be too difficult to give the appearance of a single, neat line of text at the bottom of the page. This works because block 1 is showing the record number in effect at the top of the page, and the block 2 is showing the one in effect at the bottom. Layout objects starting in the header can "hang down" into other parts and simply print as part of the background of the page. If this description is not clear enough I'll be happy to provide an illustration and/or sample file. zimbabwhat (AT) gmail (DOT) com> wrote in message news:1159221133.909518.49870 (AT) i42g2000cwa (DOT) googlegroups.com... I want to put something like "Records 1-11" on the first page, "Records 12-20" on the second page, and so on, of a printed layout that has a variable number of records per page. Is this possible? Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |