Re: Search results problem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48883
interpreted = N
texte = With that search, the only thing that it is searching for is eqVISIBLEdatarq=T.You're in effect setting a value to subarea by saying subarea equals ....etc. but it is not doing a comparison or search for anything related to subarea.You have to give it something to search for using the subarea variable:http://webdna.smithmicro.com/ref/pages.html?context=SearchWhatFor.htmlGK > Hi > > I have added a field to my database which just includes the area the product > is in > > When I search I get all the items in the database not just the ones in the > area I am searching > > I know this is a simple mistake somewhere but I cannot find it > > Basically I pass the variable subarea in the search but it is ignored > > code below > > Any help appreciated > > > [search > db=admin/products.db&max=[MAX_FOUNDITEMS]&startat=[start]&SKUsort=1&SKUsdir= > ra&eqVISIBLEdatarq=T&subarea=[url][subarea][/url]&[formvariables > name=--&exact=f][getchars > start=3][name][/getchars]=[url][value][/url]&[/formvariables]] > > THe variable [subarea] is being totally ignored but it is seen in the header > and also [subarea] on the page returns the correct info > > Thanks > Paul ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search results problem (Gary Krockover 2003)
  2. Re: Search results problem (Erol Guneri 2003)
  3. Search results problem (Paul Berman 2003)
With that search, the only thing that it is searching for is eqVISIBLEdatarq=T.You're in effect setting a value to subarea by saying subarea equals ....etc. but it is not doing a comparison or search for anything related to subarea.You have to give it something to search for using the subarea variable:http://webdna.smithmicro.com/ref/pages.html?context=SearchWhatFor.htmlGK > Hi > > I have added a field to my database which just includes the area the product > is in > > When I search I get all the items in the database not just the ones in the > area I am searching > > I know this is a simple mistake somewhere but I cannot find it > > Basically I pass the variable subarea in the search but it is ignored > > code below > > Any help appreciated > > > [search > db=admin/products.db&max=[MAX_FOUNDITEMS]&startat=[start]&SKUsort=1&SKUsdir= > ra&eqVISIBLEdatarq=T&subarea=[url][subarea][/url]&[formvariables > name=--&exact=f][getchars > start=3][name][/getchars]=[url][value][/url]&[/formvariables]] > > THe variable [subarea] is being totally ignored but it is seen in the header > and also [subarea] on the page returns the correct info > > Thanks > Paul ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

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:

F3 crashing server (1997) WebCatalog for Postcards ? (1997) [WebDNA] [store] and [recall]: default db location (2015) Sale on wholesale programming services ... (2006) [SMSI] Sitebuilder UPS integration (2005) Quick ShowIf question (1997) NT Photo manip. util. needed (2000) Re:need help please (1997) Roundup function? (1997) WebCat2 beta FTP site (1997) How do I get multiple unique numbers on one template? (2000) Clickable maps and WebCatalog? (1996) Nested tags count question (1997) WC2f3 (1997) back button problem (1999) [OT] What log analyzer do you use? (2000) MOOOOOO (2000) This might sound silly... (2000) Accessing Server Environment Variables (2003) [WebDNA] db admin tool (2008)