(More) Re: Question about searching combination of fields

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48756
interpreted = N
texte = On Tuesday, March 18, 2003, at 01:29 AM, Steve Chun wrote:> I can't seem to get a handle on this simple concept. Trying to create > a search that will return results based on all three criteria > matching: > > 1) Subject > 2) Prodline > 3) Category1 > > [search > db=inventory.db&eqprodlinedata=[prodline]&subjectsumm=t&assubjectsort=1 > ] > > > [foundItems] > > href=thumbs.html?cart=[cart]&cust=[cust]&subject=[url][subject][/ > url]&prodline=[url][prodline][/url]&category1=[category1]>[subject] a> > [/foundItems] > [/search] > > > As it is, this search is returning results based on any of the > criteria matching. Do I need the reqd=T tag somewhere? > > Thanks. >The ONLY comparison you are making in the query is that PRODLINE is equal to the value you pass in the variable [prodline]. The others items in your query are just summarizing/sorting the returned data from the query. (Maybe you know that?)- Charles ------------------------------------------------------------- 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:

    
On Tuesday, March 18, 2003, at 01:29 AM, Steve Chun wrote:> I can't seem to get a handle on this simple concept. Trying to create > a search that will return results based on all three criteria > matching: > > 1) Subject > 2) Prodline > 3) Category1 > > [search > db=inventory.db&eqprodlinedata=[prodline]&subjectsumm=t&assubjectsort=1 > ] > > >
[founditems] > > href=thumbs.html?cart=[cart]&cust=[cust]&subject=[url][subject][/ > url]&prodline=[url][prodline][/url]&category1=[category1]>[subject] a> > [/foundItems] > [/search] > > > As it is, this search is returning results based on any of the > criteria matching. Do I need the reqd=T tag somewhere? > > Thanks. >The ONLY comparison you are making in the query is that PRODLINE is equal to the value you pass in the variable [prodline]. The others items in your query are just summarizing/sorting the returned data from the query. (Maybe you know that?)- Charles ------------------------------------------------------------- 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/ Charles Kline

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:

Why do extra quotation marks sometimes appear in my databases? (1998) # fields limited? (1997) Re:Emailer tracking (1997) [founditems] & radiobuttons - CONCLUSION (2002) [WebDNA] I'm stuck... :-( (2009) Search design (1997) Multiple Pulldowns (1997) Robert Minor duplicate mail (1997) [FoundItems] solved - thanks (1997) SSL and Webcat Authentication with IIS 5.0 on Win2K box (2000) Major Security Hole IIS NT (1998) WebCat & WebTen (1997) [WebDNA] Date: header on emails - timezone problem perhaps (2010) WebCat editing, SiteGuard & SiteEdit (1997) Configuring E-mail (1997) WebCat2b15MacPlugin - showing [math] (1997) Help!!!! (1997) EIMS Problems (1997) Frames and WebCat (1997) OT: Merchant Accounts (2003)