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 February 26th, 2006, 09:43 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP | db recordset paging PLEASE HELP!!

Hi,

I have been trying to implement recordset paging for a site. I have tried about 10 different tutorials unsuccessfully and I really am stuck.

The problem i seem to have is that all the examples are based on really simple queries i.e SELECT * from tblName. But i am trying to do it with this query:
-------------
If(Status = "both) then Status = "LIKE '%%'" Else Status = "= '" & Status & "'"

sSQL = "SELECT * FROM tblProperty WHERE Status " & Status & " AND (Beds >= " & beds & ") AND (price >= " & minprice & " AND price <= " & maxprice & ") "& QueryType &" "& QueryArea &" ORDER BY price ASC"
------------
I have managed to get the first 10 results to display ok, but when i try and go to the proceeding pages I always get query errors, I'm guessing this is because I need to pass the search variable between the pages???

You can see my efforts here:

search page - http://www.signaturehomesoverseas.com/searchtest.asp

I'm really struggling with this and need to get it done as asap, what I would like to know, is their any simple alternatives to recordset paging?

Any help would be greatly appreciated. Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
DB recordset paging using ajax paging? kumiko Classic ASP Basics 0 May 26th, 2008 10:23 AM
asp searching and recordset paging kumiko Classic ASP Basics 0 May 22nd, 2007 03:46 AM
Recordset Paging incorrectly. Please help! phudong3da Dreamweaver (all versions) 4 October 4th, 2005 05:39 PM
How to add paging for access db using asp method Classic ASP Databases 1 June 3rd, 2005 02:12 PM
Getting error w/Paging through recordset Calibus Classic ASP Databases 3 September 2nd, 2004 06:41 PM





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