Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2003, 03:36 AM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default page break in asp

I am preparing a report program in ASP called (Work order(WO) printing)
and my selection is FROM WO NO. to TO WO NO. It shows all the
data in ie browser.
and while printing it prints continue without any page break
Is there any pages break facility in html,asp so that it will
skip automatically whenever it founds new record. It will be
kind enough if any body me the solution asap


eg : Wo no. 1
        ....
        ....
page break ---- and skip
       wo no. 2
        ....
        ....






 
Old December 3rd, 2003, 03:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

I assume that you have some kind of loop in place, and that you are formatting your records in a HTML table.

Find the <tr>-element that starts of a new record, and edit it along these lines:

Code:
<tr style="page-break-before: always;">





Similar Threads
Thread Thread Starter Forum Replies Last Post
page break in asp rajiv_software Classic ASP Basics 10 November 24th, 2010 05:55 PM
Page Break chakravarthy_vr Reporting Services 1 June 22nd, 2006 10:16 AM
ASP: page break programmatically u813222 Classic ASP Professional 5 March 28th, 2006 01:23 AM
page break in asp.net kngs Crystal Reports 0 January 30th, 2005 01:20 AM
Page Break aspadda Excel VBA 0 February 9th, 2004 02:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.