(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:

[WebDNA] WebDNA app (2013) Using Plug-In while running 1.6.1 (1997) OT: Variables in printed URL (2007) Three new problems, maybe a fourth (1997) Include a big block of text (1997) [WebDNA] table comma field delimiter bug? (2012) WCS Newbie question (1997) Making WebCatalog run as www (2006) iis 4.0 (1997) WC2b15 File Corruption (1997) MacOS 9 => ODBC=> Ms SQL Server 7 (2000) Strange search... (2001) Limit on nested [ShowIf]'s? (1997) Thanks Grant (1997) Country & Ship-to address & other fields ? (1997) Demo math questions (2000) OT - Need A Good Address Parser (2000) Setting up shop (1997) PROBLEM (1997) PCS Frames (1997)