Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

search and results pages.

Posted on 2002-06-10
1
Medium Priority
?
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

705 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