By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,695 Members | 1,651 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,695 IT Pros & Developers. It's quick & easy.

Forms - pagebreak Visibility

P: n/a
Hi.

Is it possible to hide a page (pagebreak) on a form? I have a form with
three pagebreaks, and I would only like to see one page at a time, I
know I can just move the pagebreak a little bit further down to hide
the other pages, but if I do so, I will not have enough space to fit
everything on one form.

Thank you in advanced.
GAVO.

Dec 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I'm not sure if this is still true, but page break controls on Access 97
reports could be toggled visible and invisible, even though intellisense
didn't expose .Visible as a property.

It would be worth giving it a try. Name your page break controls and
add a button with the click event as follows ...

Me.pgbrOne.Visible = Not Me.pgbrOne.Visible
Me.pgbrTwo.Visible = Not Me.pgbrTwo.Visible
Me.pgbrTre.Visible = Not Me.pgbrTre.Visible
--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast
"GAVO-UK" <an****@peopleex.com> wrote ...
Hi.

Is it possible to hide a page (pagebreak) on a form? I have a form with
three pagebreaks, and I would only like to see one page at a time, I
know I can just move the pagebreak a little bit further down to hide
the other pages, but if I do so, I will not have enough space to fit
everything on one form.

Thank you in advanced.
GAVO.

Dec 19 '05 #2

P: n/a
Thank you Lesandrini,
But it did not work. This is the code Im using;

Me.PageBreak11.Visible = Not Me.PageBreak11.Visible

and

Me.PageBreak11.Visible = False

None of these is working.
Any other suggestions?

Thanks
GAVO

Dec 19 '05 #3

P: n/a
Yeah, I wasn't sure if that would work, and hadn't ever actually
tested it in a form. It does work with Repors in Access 97, but
even there it was undocumented.

I played with it a little and googled for previous comments, but
found none. I can shrink the Detail section from a button click,
but can't hide the page break. I also moved the page break, but
that didn't shrink secion as I thought it would.

--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast
"GAVO-UK" <an****@peopleex.com> wrote ...
Thank you Lesandrini,
But it did not work. This is the code Im using;

Me.PageBreak11.Visible = Not Me.PageBreak11.Visible

and

Me.PageBreak11.Visible = False

None of these is working.
Any other suggestions?

Thanks
GAVO

Dec 19 '05 #4

P: n/a
mm....I could just hide every control within each of the pages but that
would be very messy...I was hoping I could just hide the whole page.

Thanks anyway
GAVO

Any other comments are highly appreciated.

Dec 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.