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

ForceNewPage Property

P: n/a
I'm trying to provide my users with a choice to have a page break after
the report header of a report. A dialog form, which opens with acDialog
in the on open event of the report, has the following line:

If Me.chkForwardBreak = -1 Then
Reports(strReport).ReportHeader.ForceNewPage = 2

The report is saved without the forcenewpage property set, so it's only
whe the user indicates chkForwardBreak as -1 that this fires. Stepping
through the code confirms that the second part of the if, above, is run
by VBA.

All other sorts of things I do on the dialog form, such as setting the
controlsource for the text box(es) that comprise various section of the
report work, but this does not seem to do so.

Is there something stupid I'm missing, or is it that the forcenewpage
property cannot be set at report run time?

TIA for any comments.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Feb 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.