Re: Search syntax question

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20798
interpreted = N
texte = Thak you very much, Dave. That seems kind of awkward, but it works. I can't believe I have never run into this before, and it seems like you should be able to find one sequence and then another in the same field without having to set up group values, but... Dave MacLeay wrote:> You can't search the same field of a database in more than one way in the > same search (in each example. it looks like you're trying to search the > hiseq field several different ways). > > The solution is to use groups: > > group1field=hiseq&group2field=hiseq&bwgroup1data=250&rngroup2data=280+286...etc. > > Each group contains the same field, but WebCat is capable of searching each > group as a separate entity. > > -Dave > > At 11:01 AM 11/2/98, Gil Poulsen wrote: > >Question: These searches are not working, and seem to be acting as if they are > >and type searches rather than or type, yet none of the fields have rq > >aoppended to them. However, they all return 0 results. Am I doing something > >wrong in the coding here? > > > > >VALUE=category.hi.tmpl$search?bwhiseqdata=250&rnhiseqdata=280+286&hiseqtype=nu > >m&db=../scholars.db&startAt=1&max=25&cart=[cart]>Asia > >& Africa > > > > >VALUE=category.hi.tmpl$search?bwhiseqdata=220&rnhiseqdata=225+227&rnhiseqdata= > >232+242&bwhiseqdata=275&hiseqtype=num&db=../scholars.db&startAt=1&max=25&cart=[c > >art]>Modern History > > > > >VALUE=category.hi.tmpl$search?eqhiseqdata=216&eqhiseqdata=231&hiseqtype=num&db > >=../scholars.db&startAt=1&max=25&cart=[cart]>Jewish > >History/The Holocaust > > > >-- > >Gil Poulsen, Webmaster > > > >************************************************************** > >* AltiM@c * Phone: (908) 222-9001 * > >* 111 Mali Drive * FAX: (908) 222-9002 * > >* North Plainfield, NJ * e-mail: help@altimac.com * > >* 07062-2355 * WWW: http://www.altimac.com * > >************************************************************** > > o--------------- Dave MacLeay --+ > o----------- Digital Frontier --+ > o--------------- 802.253.8612 --+ > o--- dave@digitalfrontier.com --+ -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 222-9001 * * 111 Mali Drive * FAX: (908) 222-9002 * * North Plainfield, NJ * e-mail: help@altimac.com * * 07062-2355 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: Search syntax question (Gil Poulsen 1998)
  2. Re: Search syntax question (Dave MacLeay 1998)
  3. Search syntax question (Gil Poulsen 1998)
Thak you very much, Dave. That seems kind of awkward, but it works. I can't believe I have never run into this before, and it seems like you should be able to find one sequence and then another in the same field without having to set up group values, but... Dave MacLeay wrote:> You can't search the same field of a database in more than one way in the > same search (in each example. it looks like you're trying to search the > hiseq field several different ways). > > The solution is to use groups: > > group1field=hiseq&group2field=hiseq&bwgroup1data=250&rngroup2data=280+286...etc. > > Each group contains the same field, but WebCat is capable of searching each > group as a separate entity. > > -Dave > > At 11:01 AM 11/2/98, Gil Poulsen wrote: > >Question: These searches are not working, and seem to be acting as if they are > >and type searches rather than or type, yet none of the fields have rq > >aoppended to them. However, they all return 0 results. Am I doing something > >wrong in the coding here? > > > > >VALUE=category.hi.tmpl$search?bwhiseqdata=250&rnhiseqdata=280+286&hiseqtype=nu > >m&db=../scholars.db&startAt=1&max=25&cart=[cart]>Asia > >& Africa > > > > >VALUE=category.hi.tmpl$search?bwhiseqdata=220&rnhiseqdata=225+227&rnhiseqdata= > >232+242&bwhiseqdata=275&hiseqtype=num&db=../scholars.db&startAt=1&max=25&cart=[c > >art]>Modern History > > > > >VALUE=category.hi.tmpl$search?eqhiseqdata=216&eqhiseqdata=231&hiseqtype=num&db > >=../scholars.db&startAt=1&max=25&cart=[cart]>Jewish > >History/The Holocaust > > > >-- > >Gil Poulsen, Webmaster > > > >************************************************************** > >* AltiM@c * Phone: (908) 222-9001 * > >* 111 Mali Drive * FAX: (908) 222-9002 * > >* North Plainfield, NJ * e-mail: help@altimac.com * > >* 07062-2355 * WWW: http://www.altimac.com * > >************************************************************** > > o--------------- Dave MacLeay --+ > o----------- Digital Frontier --+ > o--------------- 802.253.8612 --+ > o--- dave@digitalfrontier.com --+ -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 222-9001 * * 111 Mali Drive * FAX: (908) 222-9002 * * North Plainfield, NJ * e-mail: help@altimac.com * * 07062-2355 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

SKU (1997) searching problem (1998) WebDNA 6.0 backwards compatible? (2004) How to remove comments with grep? (2003) WebCat2b13MacPlugIn - more [date] problems (1997) webcat 3.06f on Linux keeps dying (1999) GuestBook example (1997) [math] show=F exists? (1997) multiple search commands (1997) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Frames (1997) [LOOKUP] (1997) my price won't move (1997) [taxRate] [TaxTotal] ? (1997) Multiple fields on 1 input (1997) WebCat2: Items xx to xx shown, etc. (1997) Return records from another (1997) Location of Webcat site in folder hierarchy (1997) [format 40s]text[/format] doesn't work (1997) [WebDNA] forum, ..two? or only one? (2010)