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

Page Break in Report (Access 97)

P: n/a
I am trying to use a conditional page-break by setting the Visible
property of the page-break control - as per the Access Help.

However, my page-break controls do not have a Visible property! :(

If I try setting it in code I get an error that there is no such
property, and the property sheet indeed does not show such a property.

What am doing wrong?
--
Les Desser
(The Reply-to address IS valid)
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Les Desser" <Ne*******@dessergroup.com> wrote in message
news:1Z**************@dessergroup.com...
I am trying to use a conditional page-break by setting the Visible
property of the page-break control - as per the Access Help.

However, my page-break controls do not have a Visible property! :(

If I try setting it in code I get an error that there is no such
property, and the property sheet indeed does not show such a property.

What am doing wrong?


You are correct that there is no visible property for the PageBreak in the
property sheet and intellisense won't list it either, but I just tried it and
the property does still work.

What is your exact syntax and what event are you using to set it? I used the
following in the OnFormat event of the section that the PageBreak resided in...

Me.PageBreakName.Visible = False
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2

P: n/a
In article <2l************@uni-berlin.de>, Rick Brandt
<ri*********@hotmail.com> writes
"Les Desser" <Ne*******@dessergroup.com> wrote in message
news:1Z**************@dessergroup.com...
I am trying to use a conditional page-break by setting the Visible
property of the page-break control - as per the Access Help.

However, my page-break controls do not have a Visible property! :(

If I try setting it in code I get an error that there is no such
property, and the property sheet indeed does not show such a property.

What am doing wrong?


You are correct that there is no visible property for the PageBreak in the
property sheet and intellisense won't list it either, but I just tried it and
the property does still work.

What is your exact syntax and what event are you using to set it? I used the
following in the OnFormat event of the section that the PageBreak resided in...

Me.PageBreakName.Visible = False

With your assurance that it works, I re-booted and hey-presto it does
work.

Thanks for the very prompt response.
--
Les Desser
(The Reply-to address IS valid)
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.