Solved

search and results pages.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird problem with dreamweaver CS5.5 3 546
Adobe Web Premium CS3 5 374
page loads much slower in IE than chrome 9 1,159
DW UserID Session from Login 1 109
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…
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 …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

11 Experts available now in Live!

Get 1:1 Help Now