?
Solved

Displaying querystring in Search results page

Posted on 2003-03-18
5
Medium Priority
?
219 Views
Last Modified: 2013-12-18


In my database i am using a custom $$Search form and the results are displayed in a custom form
$$Searchtemplate for SearchView.
Is there a way to display the string that was searched for on the search results page ?

For exemple

Search results for "query" :

results
...


0
Comment
Question by:Steamer
[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
  • 3
5 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 8163187
You need two extra fields on your $$Searchtemplate Form.
1.) Query_String
2.) SearchString

The name of Query_String Field has to be so. This is a CGI field name.
The formula for your SearchString Field is then:
FIELD Query_String:=Query_String;
@Middle(Query_String;"&Query=";"&")


Good luck,
Zvonko

0
 

Author Comment

by:Steamer
ID: 8169557
That doesn't work , the URL that is returned is like


http://....?CreateDocument so i can't go that way.
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 200 total points
ID: 8583782
Hello Steamer,

did you try this:
1.) On your Search form or the $$Search form is there a field with the name: Query
2.) Simply repeat this field "Query" on your $$Searchtemplate Form.


Good luck,
Zvonko

0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12266025
Thanks.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

764 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