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:
access denied problem (1997)
Error log crashes server? (1999)
No answers by SM? (2000)
Beta 18 (1997)
[WebDNA] Happy New Year! (2009)
unusual search problem (1998)
Poll Results (2002)
[WebDNA] reply vs. new (2009)
Cookie Crumble (1998)
WC2f3 (1997)
PIXO support (1997)
a new bug? (1999)
[WebDNA] Poll: Cloud hosting (2016)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)
Location of Webcat site in folder hierarchy (1997)
RE:DatabaseHelper (1997)
wild question (1998)
rotating thumbnails (1997)
[WriteFile] problems (1997)
[TaxableTotal] - not working with AOL and IE (1997)