473,420 Members | 4,459 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,420 software developers and data experts.

Forms - pagebreak Visibility

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
4 3715
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David L. Newsome | last post by:
I have created a forms array in a class but can not change visibility of forms. I get a no instance error msg. But if I make them instances by including a statement I get an identical signature...
4
by: Al Jones | last post by:
I have an application - an insurance form - which requests personal data on form one. If the user checks auto or homeowner (or both) on the first form I need to collect data from each of these...
11
by: brian.newman | last post by:
I'm trying to use a layer inside a form to hide/reveal a part of the form, but my code doesn't seem to be working and I need some help debugging it. I'm not getting an error which has made it...
1
by: iMedia User | last post by:
I have a site where I want to use the Web form validators in two separate forms on a single page. One form allows existing users to log in while the second one allows new users to register. The...
3
by: jm | last post by:
I have a .net form. based upon data submitted, another should page is called (I think), sent the arguments, etc. I see I cannot use the action= argument like old asp. so how do i call the other...
2
by: Red | last post by:
Can you access web form control via javascript ie.. if I have <asp:textbox runat=server id=txtTextbox/> can I say in javascript txtTextbox.Enabled = true; ??
3
by: barry | last post by:
I have the following: function(NAMED) { sString.Append("document.forms.NAMED.style.visibility = 'hidden'") } and would like to convert the NAMED into the object it represents - for example in...
0
by: nandan | last post by:
hi i using devexpress xtra report in vb .net.what iam doing is dynamically creating an XRTable object and binding datas to the cells of this table.Each set of record is an array of data row.I want...
2
by: najeebasajid | last post by:
hi guys, I'm new in asp, and hav a question. I have three forms named, read, delete and compose on a single page, it3.asp as ..... <html> <head> <title>Inbox</title> <script...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.