Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

search and results pages.

Posted on 2002-06-10
1
Medium Priority
?
160 Views
Last Modified: 2010-04-25
Hi, I cannot seem to get the correct results. I have 2 check boxes and 2 text boxes to input data in a search page, so that you can search on. In my results page, I think the run-time value i am using in the recordset is incorrect. If I am using ASP Javascript as the script then shouldn't the runtime value for a parameter be Request.QueryString("NameOfField")?
Where NameOfField is the form object name of the search page that I defined and named? ie. the text box name or checkbox name?
My sql is SELECT * from Property where PropertySold = sold and PropertyFurnished = furnished.

Then I define furnished and sold with their runtime values. Can you help me with this?
0
Comment
Question by:asankar
1 Comment
 
LVL 19

Accepted Solution

by:
webwoman earned 200 total points
ID: 7070951
Don't use Request.QueryString. Just use Request("field")

If you have a POST method in your form, specifying QueryString will mean that value won't be passed. Just using Request will let the server check both GET *and* POST methods.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question