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 15th, 2006, 03:23 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page break

Hei!

With the commandObj I have succeded in looping through a dbtable. The records are then listed on screen. But I need a page break; not more than 20 lines/screen or so.

Do you have any answer on this "How-to"?

Mvh
grstad
__________________
Internet has become favorable with that tool...thank you Tim Berners-Lee!
 
Old December 15th, 2006, 10:01 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You want to set up paging or just want to display the first 20 records?

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 15th, 2006, 06:44 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...to set up paging!
Mvh
grstad
 
Old December 17th, 2006, 12:20 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

This should help you:

http://www.asp101.com/samples/db_paging.asp

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 30th, 2006, 01:40 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...thank you dparsons, I am studying that code now. Do you know where to find a list of the official Vb-script objects..?

Mvh
grstad
 
Old December 31st, 2006, 01:27 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No i do not. Try googling it it should yield some results. Wrox also has many different books on VBScript and ASP. Just remember, ASP is written in VBScript BUT there are objects that exist in VBScript that wont work in ASP because VBScript is also used to write Windows Script Host Files (WSH) that can preform certain task in the Windows Operating system.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature





Similar Threads
Thread Thread Starter Forum Replies Last Post
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
page break pab006 Classic ASP Basics 12 December 17th, 2003 06:37 AM





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