Solved

search and results pages.

Posted on 2002-06-10
1
142 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 50 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now