CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Multiple keyword search - One search box

Print topic Send  topic

Author Message
Michael
Posted: 02/03/2003, 12:20 PM

Is there a way that when I build a site useing codecharge that I can search multipe fields with just one search box (ie. Search box would be: Keywords [], it would then display the required result if the entered search term = keyword_1 or keyword_2 or keyword_3 etc.......
Thanks
RonB
Posted: 02/04/2003, 1:39 AM

All the searchbox does is define a variable that holds the search-value
For the target grid (displaying the search results) use querybuilder to make parameters for the fields you want to search in. Type should be url and use the same parameter name for all the target fields:

let's say the searchbox returns a variable called s_Someword
and you want to search in the fields: short_desc, long_descr,article

use query builder to set paramters for these fields where the url returned parameter name for all those fields is s_Someword. Make sure you set the parameter to OR not to AND. This should return the data as you want it.

Ron

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.