Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 October 17th, 2004, 01:40 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default how to filter out unwanted selection in rs paging

Ok. Since The recordset paging didn't work as I had posted in my previous thread, I decided to look for a new sample code on paging. Thank God it worked. But I'm trying to figure out what to write in the page links:

Code:
  response.write "<a href=""paging1.asp?page="&i&"&Keyword="
& Keyword &"
&Keywordb="& Keywordb &"
&Keywordc="& Keywordc &"
&spoke=" & spoke & "
&book_spoke=Book_Spoke
&chapter_spoke=Chapter_Spoke
&verse_spoke=Verse_Spoke
&text_data=yes
&optAction=on"">"&i&"</a> "
These:
Code:
&book_spoke=Book_Spoke
&chapter_spoke=Chapter_Spoke
&verse_spoke=Verse_Spoke
are used by checkboxes as well as:
Code:
&text_data=yes
But I'm not concerned about
Code:
&text_data=yes
since I need it for every search.

But is there a way to filter out the selection like the previous checkbox selections if they are not selected?



 
Old October 18th, 2004, 07:21 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sure, there is always a way to do it. You have to store those preferences somewhere. Either store them in the Session, Cookies, or even using the database, if you use login capabilities (you can even use without login using the Session.SessionID as a unique identifier; you will need a way to delete entries from used SessionID's).

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
rs.filter in asp.net - Please help ivanv ASP.NET 2.0 Basics 0 May 13th, 2007 05:14 AM
How to filter out unwanted data fdtoo SQL Server 2000 1 April 25th, 2006 10:44 AM
How to filter records based on selection of combox method Access 1 June 30th, 2005 03:34 AM
RS Manager and RS Server on 2 different computers Choose File BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 July 22nd, 2004 10:56 AM
sum'ing columns after a filter (in rs) nlicata SQL Server ASP 2 August 21st, 2003 03:52 AM





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