Chris T.
|
| Posted: 02/01/2006, 11:10 AM |
|
If I stick a <p style="page-break-after: always"></p> in the report footer section, will it break after each record is printed?
My report brings up all records created on a specified date, but when I print it, the page breaks seem to be random, and it can show 1 or 2 or even 1.5 records per page, depending how it's being printed.
I'm trying just to have one record/report per page.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 02/02/2006, 1:57 AM |
|
The report footer is shown only at the end of report (after all records are displayed). Possibly you have another page-break somewhere? Or maybe your page-break is in page footer?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
dragoon
Posts: 173
|
| Posted: 02/02/2006, 5:36 AM |
|
in next release maybe you add as an option to display the footer on evrey page (also the header)
|
 |
 |
peterr
Posts: 5971
|
| Posted: 02/02/2006, 12:37 PM |
|
That's standard feature of all reporting tools. You can use the page header/footer or report header/footer depending on your needs.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Walter Kempees
|
| Posted: 02/02/2006, 3:39 PM |
|
Chris,
It may be I'm not getting the real problem but:
Task is to print one record per page
and in the final print get a page break after each record, maintaing the
page footer.
I was intrigued by this, and the subsequent discussion.
Using no hand-coding, using the report builder I did the following and see
no problems:
I used a table only containing ID,Description
I want 1 record per page so I use the Form style (label, data) per row.
I calculate the number ow rows my record would need + the number of lines
the report would print anyway.
So I set number of lines per page to 3 bot web and print.
Generate, and I get exactly what we want.
1 record per page plus report and page footer.
Although in the Web version the browser shows the one record, clicking the
Print version link displays multi records in that view I use printpreview in
InternetExplorer and get a beautiful page break after each page footer.
Now either I don't get the problem or I gave you the solution (setting
number of lines per page to record contents + 1 (depending on section data
it might need to be a higher number)
Hope I am wrong.
Walter K
|
|
|
 |
Walter Kempees
|
| Posted: 02/02/2006, 3:44 PM |
|
Peterr,
Further to my previous post, I recognize that when the builder gives the
oppotunity to print Form(columnar) it might be handy
to offer a "records per page" setting, which as you correctly state would be
in any reportwriting tool.
I imagine the Form letter will automatically do a record per page, which in
itself might be the ultimate solution.
Am I close ?
|
|
|
 |
Walter Kempees
|
| Posted: 02/02/2006, 3:49 PM |
|
Well apparantly not.
Form Letter style also needs a number of lines per page to work as one would
expect.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 02/02/2006, 3:51 PM |
|
Walter,
Sorry, I was only responding to dragoon's comment about the page footer.
I don't believe that this thread relates to records per page. As I understood the question was about placing something (whether page break or something else) in the report footer. The answer is that both page footer and report footer sections can be used to output anything that is wanted in there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Walter Kempees
|
| Posted: 02/02/2006, 4:02 PM |
|
Peterr
I got the "record per page" idea from chris' last line in his original post
an wondered why he was trying to force page breaks as
CCS reportbuilder does this automatically.
I was trying to find out/explain that there really was no need for trickery
in this (considered by me great) reportbuilder.
The rest is as clear to me as it is to you (taken from your reply).
Anyway, back to the fun!
"peterr" <peterr@forum.codecharge> schreef in bericht
news:643e29b1e3a2f8@news.codecharge.com...
> Walter,
> Sorry, I was only responding to dragoon's comment about the page footer.
>
> I don't believe that this thread relates to records per page. As I
> understood
> the question was about placing something (whether page break or something
> else)
> in the report footer. The answer is that both page footer and report
> footer
> section can be used to output anything that is wanted in there.
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 9:02 AM |
|
I'm trying to get 1 record per page, but I was wondering if I go about that via page breaks in the record footer?
Walter: Yes, you are correct that I was trying to get one record per page. I guess it has something to do with the report builders step dealing with lines per webpage and lines per printable page.
When I do a print preview, my records are one right after another, so it's not printing one per page. I'll fiddle with the lines per page and page breaks and let you know what I come up with. Thanks for the help.
Chris
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 9:09 AM |
|
I'm sorry, I keep saying "record footer" when I mean "page footer". I have a page break in the page footer, which i assumes would put a page break after each record, but it doesn't
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 9:10 AM |
|
Sorry again, at the very beginning of this threat...I said report footer, I mean page footer.
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 10:45 AM |
|
I was using the form letter (free form) style because I need to set up my report custom. That's where it isn't working.
I tested using form (columnar) and it worked fine, printing each record per page.
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 11:46 AM |
|
I've tried 3 different tests using the free form style and none of them show one record per page.
|
|
|
 |
Walter Kempees
|
| Posted: 02/03/2006, 12:27 PM |
|
Chris, if I remeber correctly yesterday I tried it and it worked.
I'm busy right now, but will try it and report back tomorrow.
<ChrisT.@forum.codecharge (Chris T.)> schreef in bericht
news:643e3b31a21b5f@news.codecharge.com...
> I've tried 3 different tests using the free form style and none of them
> show one
> record per page.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Chris T.
|
| Posted: 02/03/2006, 12:34 PM |
|
Walter: Ok. I know you said you tried Form (columnar), but I didn't know if you tried the free form style.
I even used a sample database with CCS.
With columnar, you get one record per page, and the url links at the bottom of the record to move to the next record. (this is before clicking the printable link)
With free form, it doesn't have this. Every record shows up on the same page and at the bottom, the url links are just text saying "Page 1 of 1 First Prev.... "
But all the code is the same for columnar or free form.
|
|
|
 |
Chris T.
|
| Posted: 02/06/2006, 9:48 AM |
|
The solution I used as a workaround was that I used the report builder and selected Form (columnar). Then went in and customized it to how I needed it to look. And it works.
|
|
|
 |
Walter Kempees
|
| Posted: 02/06/2006, 11:13 AM |
|
Ok Chris.
Great, I have marked this thread and still plan on reporting back Form
(Letter).
But you probably know how time can fly
<ChrisT.@forum.codecharge (Chris T.)> schreef in bericht
news:643e78c09d0ce0@news.codecharge.com...
> The solution I used as a workaround was that I used the report builder and
> selected Form (columnar). Then went in and customized it to how I needed
> it to
> look. And it works.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |