473,387 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Next, previous records from unique query pages

229 100+
Hi, I wonder if anyone could point mne in the right direction. I have many many individual members profile pages. Each has a unique query.

http://www.site/page.asp?firstname=bla&lastname=bla&profil eid=2933

I want to have a link on each profile page to the next profile page with a previous link too.

Every sample of pagination that I have found are where there are multiple results returned and therefore are split into pages in groups.

What I need and cannot seem to find is a way to move from one unique id page to another.

The pages in question have a request query at the top.

Expand|Select|Wrap|Line Numbers
  1. lngprofileid=CLng(Request("profileid"))
  2. If lngprofileid <> "" And lngprofileid <> 0 Then
  3.  
  4.     Set rs=Server.CreateObject("ADODB.Recordset")
  5.     rs.CursorLocation = 3
and ending with

Expand|Select|Wrap|Line Numbers
  1. SQLQuery= SQLQuery & "  P.profileid=" & Clng(lngprofileid) & " "
Obviously I am not looping through multiple records so I cannot see how I would go to the next profileid

Thanks for any pointers
Much appreciated.
Richard
Feb 18 '14 #1
0 1000

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Marcel | last post by:
Hello, I'm working on a search application for my website. The website contains a lot of pictures, and a search should return clickable thumbnails. No problems there. My problem started when I...
9
by: Karl Roes | last post by:
Hi All, I would like some advice on Next / Previous record buttons. I have a main form for the client, and a continuous subform listing client transactions. If I open one of these transactions...
1
by: VMI | last post by:
I need to display Access data in a datagrid but the Access table has over 2 million records. Since I can't fill a datatable with all those records but the user needs to see all of them, how can I...
2
by: tperri | last post by:
I was wondering if there was any way to use a graphical Next and Previous button instead of displaying text for the Next & Previous functionality. Does anyone know if this is possible? Thanks...
3
by: dekern | last post by:
Good afternoon all, I guess I am missing the benefit of using datasets with Crystal. For years I have written wrapper apps that used the Pull method and I let Crystal do all the sql work. Now...
1
by: Datta | last post by:
Hi all, In my appl, my JSP page has a search input box and Go button, when the user enters some keyword say 'java' it has to search the databases on a different hosts and shud display only the...
1
by: shapper | last post by:
Hello, Is it possible to use images as Next / Previous buttons on an Asp.Net 2.0 GridView? Thanks, Miguel
0
by: auxvivrespos | last post by:
I am using Access 2003 and I have built a simple little database to keep track of invoices that are received at my office. I have created a "Suppliers" table which is a list of the companies from...
1
by: mfaisalwarraich | last post by:
hi everybody, im trying to make next and previous buttons. im displaying record based on a search. when any image on the search results is clicked then dat image opened in a new page with details...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.