If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Detect when detail section pushes to 2nd page
Is there a way of detecting when detail section pushes to 2nd page via code.
Sometimes my report group needs 2 pages and sometimes it don't, but I need a diiferent set of conditions when it does. Thanks, for any help! Wally |
#2
|
|||
|
|||
Detect when detail section pushes to 2nd page
A possibility is to count the number of records in the detail section. If
the count exceeds some number depending on the design of your report, your report will go o a second page. Steve "wallymeister" wrote in message ... Is there a way of detecting when detail section pushes to 2nd page via code. Sometimes my report group needs 2 pages and sometimes it don't, but I need a diiferent set of conditions when it does. Thanks, for any help! Wally |
#3
|
|||
|
|||
Detect when detail section pushes to 2nd page
Hi steve,
My Detail section has, for example 138 total lines to print for report, this is over 3 page breaks on model#. (46 per break) Only 42 lines will fit on a page so each model will push 4 lines to a 2nd page. I've tried everything I can think of to get the 138 lines to count 46 at a time and then start at 1 again for each model# change. Nothing works. I could place code to keep track of the lines and pages but if there's a better way to just detect when I'm on 2nd page of a model#. The lines per model# will vary from time so nothing is constant. The only Constant is the number of lines my detail section will print before pushing to 2nd page. Hope this explains a little better what I need. Wally "Steve" wrote: A possibility is to count the number of records in the detail section. If the count exceeds some number depending on the design of your report, your report will go o a second page. Steve "wallymeister" wrote in message ... Is there a way of detecting when detail section pushes to 2nd page via code. Sometimes my report group needs 2 pages and sometimes it don't, but I need a diiferent set of conditions when it does. Thanks, for any help! Wally . |
Thread Tools | |
Display Modes | |
|
|