473,549 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Total: 27 Displaying: 1 - 10 Pages: 1 2 3 [>>]

Can anyone point me to a script that will allow me to list x number of
records per page and give me a page selector and information like the one in
the subject header?

Thanks.
Jul 19 '05 #1
5 2061
www.aspfaq.com/2120


"Mystery" <my*****@barrys world.com> wrote in message
news:#p******** ******@TK2MSFTN GP09.phx.gbl...
Can anyone point me to a script that will allow me to list x number of
records per page and give me a page selector and information like the one in the subject header?

Thanks.

Jul 19 '05 #2


Thanks, but that wasn't quite what I was looking for. I need it to
display something similar to :-

Total: 27 Displaying: 1 - 10 Pages: 1 2 3 [>>]

it should show no more than 3 pages. If there are more than this the
[>>] should then point to the next page, at which time when the page is
redrawn the information will change to :-

Total: 27 Displaying: 11 - 20 Pages: [<<] 2 3 4 [>>]

TIA
Mr.E

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
CJM
I think Aaron's example lays it on a plate for you.... Short of actually
writing your code, what more can he do?

If this example doesnt fit, use it anyway... once you have master the basic
methods used, you can tweak the code to fit your desired model.
If you have any more specific questions, post another msg to this NG.

Chris

If you don't like his solution, try one of the other links...
"Mr E" <my*****@barrys world.com> wrote in message
news:OE******** *******@TK2MSFT NGP11.phx.gbl.. .


Thanks, but that wasn't quite what I was looking for. I need it to
display something similar to :-

Total: 27 Displaying: 1 - 10 Pages: 1 2 3 [>>]

it should show no more than 3 pages. If there are more than this the
[>>] should then point to the next page, at which time when the page is
redrawn the information will change to :-

Total: 27 Displaying: 11 - 20 Pages: [<<] 2 3 4 [>>]

TIA
Mr.E

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #4
"Mr E" <my*****@barrys world.com> wrote in message
news:OE******** *******@TK2MSFT NGP11.phx.gbl.. .


Thanks, but that wasn't quite what I was looking for. I need it to
display something similar to :-

Total: 27 Displaying: 1 - 10 Pages: 1 2 3 [>>]

it should show no more than 3 pages. If there are more than this the
[>>] should then point to the next page, at which time when the page is
redrawn the information will change to :-

Total: 27 Displaying: 11 - 20 Pages: [<<] 2 3 4 [>>]


No offense, but that's kind of a crappy user interface. What if the user
wants something at the end of the list? I assume clicking on page 3 would
give you:

[<<] 2 3 4 [>>]

Essentially, you can only move 1 page at a time. That blows, especially if
there are 100 pages of results. You might want to reconsider the approach
you are taking. What you are asking for *is* recordset paging, so check out
the link that Aaron posted. Here's another you might find interesting:
http://www.4guysfromrolla.com/webtech/121298-1.shtml

Regards,
Peter Foti


Jul 19 '05 #5


Thanks guys - I'll give it a go !! :-)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2469
by: jason | last post by:
I would appreciate some help on how to convert a database table into an html file via FSO and whether more seasoned asp programmers recommned this route. The main reason I am attempting to do this is becuase we are constantly being told by so-called marketing gurus that 'html' pages are more search engine friendly. Other advantages include...
1
7017
by: Kirk | last post by:
Is it possible to stop horizontal scrolling whilst still maintaining vertical scrolling within an <IFRAME> ? Within each page of my site I have an IFRAME for content. For some pages there is very little information to display, thus the frame has no scrolling bars, but on those where there is lots then the vertical scrolling bar appears. ...
8
5132
by: slim | last post by:
hi again all, i am still working on the website as mentioned in earlier threads and have hit another snag... http://awash.demon.co.uk/index.php http://awash.demon.co.uk/vd.css the php is pulling a name and placing it under the thumbnail (the text is
11
2988
by: Ted Mayett | last post by:
OK. Here is a glitch, sorry if this has been mentioned before. This is an erratic glitch. I am now up to three other people besides myself who have been able to see this glitch. It seems it only happens in IE. And the <hr> causes this thing to happen. Now, I have ~tried~ to make this glitch, and that is tough to do. I had did it...
822
29058
by: Turamnvia Suouriviaskimatta | last post by:
I 'm following various posting in "comp.lang.ada, comp.lang.c++ , comp.realtime, comp.software-eng" groups regarding selection of a programming language of C, C++ or Ada for safety critical real-time applications. The majority of expert/people recommend Ada for safety critical real-time applications. I've many years of experience in C/C++...
5
2204
by: Mark Preston | last post by:
Admission first - I don't actually have a problem here but have noticed that a lot of people have been asking similar questions and getting very varied answers. What I've done is to sort of "compile the questions" into a theoretical problem to see what people think should be done to solve it. Maybe it will be a worthwhile discussion, but...
9
5531
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash shell pieces like this: <pre><code> #!/bin/sh ftp -i -n ftp.server.com&lt; &lt;EOF user username password epsv4 cd /
5
1911
by: Nathan Sokalski | last post by:
My Web.config file contains the following section to register some of my UserControls: <pages> <controls> <add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/> <add tagPrefix="NATE" tagName="Navigation" src="~/Navigation.ascx"/> </controls> </pages>
13
27495
by: Davo | last post by:
Hi Folks, There seems to be something about not using tables for layout, but use divs instead. I'm not sure if I've got this right. If the output looks like what you want, then it shouldn't matter what tags you use I would have thought, or am I missing something? tia, Davo
0
7546
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7740
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7830
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6071
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5387
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3517
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1082
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
784
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.