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
|
|||
|
|||
troubleshooting new page in access 2003
I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first group is changing I had a page with only the title of the group and remaining empty ??? |
#2
|
|||
|
|||
troubleshooting new page in access 2003
kalman wrote:
I am printting a 4 group level where for every change in the 2 first groupes they should be a new page. What happens is when the first group is changing I had a page with only the title of the group and remaining empty ??? Set the top level group header section's ForceNewPage property to BeforeSection. Use code in the top level group header section's Format event to keep the second level header on the same page as the top level group header section: Me.Section(7).ForceNewPage = False To get subsequent second level headers on a new page, use the second level group footer section's Format event: Me.Section(7).ForceNewPage = True -- Marsh MVP [MS Access] |
#3
|
|||
|
|||
troubleshooting new page in access 2003
On Jul 22, 12:04 pm, kalman wrote:
I am printting a 4 group level where for every change in the 2 first groupes they should be a new page. What happens is when the first group is changing I had a page with only the title of the group and remaining empty ??? Dear Marshall Thank you indeed. I had tryed your solution ( leaving in properties only for top level group) What happens is: - second level header (with detail) is not on new page - still having "blank page" with only first level header printed on when first level is changing Thank you in advance Kalman |
#4
|
|||
|
|||
troubleshooting new page in access 2003
On Jul 22, 6:43 pm, Marshall Barton wrote:
kalman wrote: I am printting a 4 group level where for every change in the 2 first groupes they should be a new page. What happens is when the first group is changing I had a page with only the title of the group and remaining empty ??? Set the top level group header section's ForceNewPage property to BeforeSection. Use code in the top level group header section's Format event to keep the second level header on the same page as the top level group header section: Me.Section(7).ForceNewPage = False To get subsequent second level headers on a new page, use the second level group footer section's Format event: Me.Section(7).ForceNewPage = True -- Marsh MVP [MS Access] Dear Marshall The problem was that in designing the page in landscape there was an overflow (too many empty lines) causing group title being on new page without details records. Is there a function getting information if you are going to print a page without group detail records ? |
#5
|
|||
|
|||
troubleshooting new page in access 2003
kalman wrote:
On Jul 22, 6:43 pm, Marshall Barton wrote: kalman wrote: I am printting a 4 group level where for every change in the 2 first groupes they should be a new page. What happens is when the first group is changing I had a page with only the title of the group and remaining empty ??? Set the top level group header section's ForceNewPage property to BeforeSection. Use code in the top level group header section's Format event to keep the second level header on the same page as the top level group header section: Me.Section(7).ForceNewPage = False To get subsequent second level headers on a new page, use the second level group footer section's Format event: Me.Section(7).ForceNewPage = True The problem was that in designing the page in landscape there was an overflow (too many empty lines) causing group title being on new page without details records. Is there a function getting information if you are going to print a page without group detail records ? I don't understand what you are trying to describe. What does "there was an overflow (too many empty lines)" mean? Landscape/portrait should have nothing to do with whatever problem you are having. It is impossible to have a group header with no detail records. You might have a detail record with Null values in some/many fields, but there can not be a group without at least one detail. You can determine the number of details in a group by using a text box with the expression =Count(*) in the group header section. -- Marsh MVP [MS Access] |
Thread Tools | |
Display Modes | |
|
|