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:
[WebDNA] Moving sites to a HostGator dedicated server (2008)
Removing carriage returns and line feeds (2006)
WebCat2b13MacPlugIn - syntax to convert date (1997)
gateway application timeouts (1998)
[platform] tag? (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[WebDNA] java class (2014)
problems with 2 tags (1997)
using showpage and showcart commands (1996)
ShowNext truncating passed variable?? (1997)
[WebDNA] Yosemite (2014)
2.0Beta Command Ref (can't find this instruction) (1997)
database size? (1997)
WC TableGrinder (1997)
Browser Back button (2003)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
Refering page (1998)
Possible Hijacking from Globix (2002)
RE: Help name our technology! (1997)
Automated FTP from Shell (2004)