Re: Nesting searches.
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20547
interpreted = N
texte = When you nest [search] contexts, the outermost search is performed first. However, it sounds like you really want to combine multiple crieteria into a single search? For example, to do something like you mentioned (French AND German match first, and then match another field), you could build a [search] like this (note that actual field names and search types are for display purposes only):[search db=db.db&eqFRENCHdatarq=1&eqGERMANdatarq=2&eqFIELDdatarq=test]JOhn.>Hi folks,>I am trying to build nested searches. I need to do an and/or search on a>number of fields and combine this result with another search. e.g. French>AND German match first and then match that with with another field. Does>wcat evaluate from the innermost nested search first? I am using a form to>collect the data and performing the search on the results page. Any hints>on how to approach this?>Thanks,>>Regards,>****************************************************************>Micheal O Se>www.elive.ie Internet Hosting Service>micheal@elive.ie Database powered websites>**************************************************************** John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
When you nest
[search] contexts, the outermost search is performed first. However, it sounds like you really want to combine multiple crieteria into a single search? For example, to do something like you mentioned (French AND German match first, and then match another field), you could build a
[search] like this (note that actual field names and search types are for display purposes only):[search db=db.db&eqFRENCHdatarq=1&eqGERMANdatarq=2&eqFIELDdatarq=test]JOhn.>Hi folks,>I am trying to build nested searches. I need to do an and/or search on a>number of fields and combine this result with another search. e.g. French>AND German match first and then match that with with another field. Does>wcat evaluate from the innermost nested search first? I am using a form to>collect the data and performing the search on the results page. Any hints>on how to approach this?>Thanks,>>Regards,>****************************************************************>Micheal O Se>www.elive.ie Internet Hosting Service>micheal@elive.ie Database powered websites>**************************************************************** John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Robert Minor duplicate mail (1997)
[Announce] WebCatalog 2.1 Released (1998)
WebCat2b15MacPlugin - showing [math] (1997)
Plugin or CGI or both (1997)
WebCat2: Items xx to xx shown, etc. (1997)
multi-paragraph fields (1997)
[OT] iChat (2003)
America Online Issues (1998)
Calendar using WebCatalog? (1997)
Individual LineItemChangePassword files would be better ... (1999)
a search based on ^(contains) (1998)
Date search bug (1998)
WSDL Wizard (2003)
Help! WebCat2 bug (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog dying in WebTen Revisited (1998)
Generating Report Totals (1997)
Download URL & access on the fly ? (1997)
Location of Webcat site in folder hierarchy (1997)
Javascript Stored in a Database (2003)