Solved

search and results pages.

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Weird problem with dreamweaver CS5.5 3 563
removing xml elements and children 5 546
Responsive CSS Layout? 6 52
drop down button disappears 12 106
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…
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…
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 antispam), the admini…

685 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