Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 16th, 2003, 12:39 PM
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

There's a logical error in the above...
Change it to this:

Code:
        If sLastType = "" Then
            response.write "<tr>"
            sLastType = Rslist("FaultType")
        ElseIf sLastType <> Rslist("FaultType") then
            response.write "<tr style=""page-break-before: always;"">"
            sLastType = Rslist("FaultType")
        Else
            response.write "<tr>"
        End if
 
Old December 16th, 2003, 12:41 PM
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

BTW: You are missing a space in
Code:
<table border="1"align="center"
 
Old December 17th, 2003, 06:37 AM
Authorized User
 
Join Date: Nov 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that worked a treat,:D many thanks again






Similar Threads
Thread Thread Starter Forum Replies Last Post
Page break grstad Classic ASP Basics 5 December 31st, 2006 01:27 PM
Page Break Neal Crystal Reports 1 August 31st, 2006 10:33 AM
Page Break Dhawood ASP.NET 2.0 Basics 0 August 8th, 2006 08:02 AM
Page Break chakravarthy_vr Reporting Services 1 June 22nd, 2006 10:16 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.