Re: unusual search problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20698
interpreted = N
texte = Why don't you use [convertchars db=yourconversions.db] and make %20 translate into + ???That would most possible do a very simple workaround;-)Take care out there, it's a djungle!/Martin>Here's something that may or may not have a solution: > >1- I'm creating a bunch of these parameters: > > > >by using a search/founditems context on the search page -- to allow tusers >to check off as many brandnames as they wish in their searches. In other >words, the search must retrieve records having one *OR* more of the >brandnames checked -- the *whole* brand name, not just part of it, because >some of the brand names have common characters in them. > >2- On the results page, I'm using this search context: > >[search otherparameters&wofieldNamedatarq=[formvariables >name=brandname&exact=F][url][value][/url]+[/formvariables]] > >There's only one problem with this technique: The actual search string >created by this code makes the plus signs into %20, and that screws up >my searches. Here is the parameter created by this code when I check two >of the checkboxes: > >&wofieldNamedatarq=US%20West%20GTE%20 > >... but what I *wanted* for this parameter is: > >US%20WEST+GTE+ > >So why is webcat replacing + with %20? The plus sign is NOT inside the >url context, so shouldn't it be passed as is, without being changed into >%20? > >Is this a bug? >Is there a work-around available? > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net Konsulentfirmaet Bech.dk Dynamic HTML, WebDNA programming, Lasso & Filemaker Pro developement Associated Messages, from the most recent to the oldest:

    
  1. Re: unusual search problem (John Hill 1998)
  2. Re: unusual search problem (Martin Gertz Bech 1998)
  3. Re: unusual search problem (Kenneth Grome 1998)
  4. Re: unusual search problem (Kenneth Grome 1998)
  5. Re: unusual search problem (John Hill 1998)
  6. Re: unusual search problem (PCS Technical Support 1998)
  7. unusual search problem (Kenneth Grome 1998)
Why don't you use [convertchars db=yourconversions.db] and make %20 translate into + ???That would most possible do a very simple workaround;-)Take care out there, it's a djungle!/Martin>Here's something that may or may not have a solution: > >1- I'm creating a bunch of these parameters: > > > >by using a search/founditems context on the search page -- to allow tusers >to check off as many brandnames as they wish in their searches. In other >words, the search must retrieve records having one *OR* more of the >brandnames checked -- the *whole* brand name, not just part of it, because >some of the brand names have common characters in them. > >2- On the results page, I'm using this search context: > >[search otherparameters&wofieldNamedatarq=[formvariables >name=brandname&exact=F][url][value][/url]+[/formvariables]] > >There's only one problem with this technique: The actual search string >created by this code makes the plus signs into %20, and that screws up >my searches. Here is the parameter created by this code when I check two >of the checkboxes: > >&wofieldNamedatarq=US%20West%20GTE%20 > >... but what I *wanted* for this parameter is: > >US%20WEST+GTE+ > >So why is webcat replacing + with %20? The plus sign is NOT inside the >url context, so shouldn't it be passed as is, without being changed into >%20? > >Is this a bug? >Is there a work-around available? > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net Konsulentfirmaet Bech.dk Dynamic HTML, WebDNA programming, Lasso & Filemaker Pro developement Martin Gertz Bech

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:

Triggers (2003) iTools 7 instructions for 5.1? (2003) serial number generation (1997) URGENT! ACGI Stopped!!!! (1997) WebDNA Speed Test (2008) Stupid question (2003) FAX orders (1996) MASTER_STORE revision (2002) form variables (2000) Talk List Admin Page? (2000) Use of Back and Reload Buttons on ShoppingCart page? (1997) The Best Shopping Cart Solution I Have Come Upon (2003) Proposed FormVariables hierarchy (2000) How many lookups does it take ... (2003) [SEARCH] Context for SKU prices not working... (1998) AW: AW: Credit card processing - UK (1997) Nested tags count question (1997) OT: How to get more traffic to a site? (2005) OT: Unknown Webstar Error ruining presentation?! (2001) [carts] and databases (1997)