Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 16th, 2006, 11:48 PM
Uthred Uthred is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Uthred User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 40 sec
Reputation Power: 0
Probelm with form variables

The problem is as follows:

search.asp uses a form to pass two variables ysColu (column name) and ysText (the text being searched for) to result.asp, result.asp then displayes a list based on the two variables. This all works fine, however whenever the "Next" button is used to page through the recordset the variables reset to their default values. I was wondering is there any way to fix this?


The code Im using to generate the initial result.asp recordset is :

SELECT *
FROM Books
WHERE ysColu LIKE '%ysText%'
ORDER BY ysColu ASC

where

ysText is defaulted to "Exalted" and its run-time value is taken from Request.Form("ysText")

ysColu is defaulted to "GameLine" and its run-time value is taken from Request.Form("ysColu")

Some test pages with the problem can be seen at:

Reply With Quote
  #2  
Old March 17th, 2006, 01:00 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106712 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
This thread has been locked, please dont double post, and refer
to this page for answers
http://forums.aspfree.com/programmi...les-103838.html
__________________
Look! Its a ShemZilla



Reply With Quote
Closed Thread

Viewing: ASP Free ForumsOtherProgramming Help > Probelm with form variables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT