inserting page breaks after a list control

  • Thread starter Thread starter Charles Crawford
  • Start date Start date
C

Charles Crawford

Hi all,

I'm still trying to complete this report and am having problems getting the
page breaks to work correctly.

I have a list control in the report body and have included my fields and
subreport control within the list control.

I set the PageBreakAtEnd value to True.

I still have some records starting to print immediately after the previous
record, without issuing a page break to start a new page.

I've tried the PageBreakAtStart and the KeepTogether properties too, but no
luck.

Any ideas?

Also, it seems that the Microsoft Reporting controls are a bit buggy... it
seems that all reports must be printed from the Print Preview view of
ReportViewer and only to the default printer. Is there a patch or update in
the works for Microsoft Reporting? Or at least some good documentation
describing limitations and work arounds?

Thanks,

Charlie
 
Hi Charlie,

The 'Insert a page break after this list' option on the property page of a
List report item is to place a page break at the end of the list instance.

Because there's only one list instance on the report, the page break will
be placed at the end of the list on the last page.

If you want to place a page break at the end of a record, you could add a
Group on the list and add a page break at the end of the group. To do this,
right-click the list in the report graphic designer and choose Properties.
In the General tab, click on the 'Edit detail group' button and 'Grouping
and Sorting Properties' dialog appears. In this dialog, add an expression
in the 'Group on' list box. You may group the data on the primary key
field. Select the checkbox before the option 'Page break at end'. Press OK.

Thus, a page break will be placed at the end of each group.

Hope this helps.
If you have anything unclear, please feel free to tell me.


Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top