V
vtj
I have a pagebreak control in a report footer. In reviewing entries to this
group, it appears that if the control is made .visible = false that it will
turn off the page break. This does not happen. If the control is in the
footer, I can find nothing that will cause it not to happen. I tried
modifying a command, "pagebreak.visible = (Me.Page Mod 2 = 0)" that I saw in
the entries that will force a page break by changing the last 0 to 1 or -1
but neither stopped the break from happening. The groupfooter that I have
the pagebreak in includes some lines that are made invisible so they do not
print. I tried making the groupfooter invisible also thinking that if the
whole footer were invisible the pagebreak would also be invisible. That
didn't work either. It is obvious that I don't know how the pagebreak works
so any help would certainly be appreciated. I am trying to use a number of
different variables to set the pagebreak on or off depending on the value of
those variables. I was hoping that I could use a statement like "If variable
= value then pagebreak.visible = False else pagebreak.visible = True." This
is being used on a long report that needs to be paged at various points not
related to how much information detail has been or is to be printed. I am
using Access 2007 with a 2000 program running XP.
group, it appears that if the control is made .visible = false that it will
turn off the page break. This does not happen. If the control is in the
footer, I can find nothing that will cause it not to happen. I tried
modifying a command, "pagebreak.visible = (Me.Page Mod 2 = 0)" that I saw in
the entries that will force a page break by changing the last 0 to 1 or -1
but neither stopped the break from happening. The groupfooter that I have
the pagebreak in includes some lines that are made invisible so they do not
print. I tried making the groupfooter invisible also thinking that if the
whole footer were invisible the pagebreak would also be invisible. That
didn't work either. It is obvious that I don't know how the pagebreak works
so any help would certainly be appreciated. I am trying to use a number of
different variables to set the pagebreak on or off depending on the value of
those variables. I was hoping that I could use a statement like "If variable
= value then pagebreak.visible = False else pagebreak.visible = True." This
is being used on a long report that needs to be paged at various points not
related to how much information detail has been or is to be printed. I am
using Access 2007 with a 2000 program running XP.