Search for non blank fields

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59426
interpreted = N
texte = Hi Guys, I am having a slight problem with a search. I have a database with products that have 2 codes and am trying to generate a list of all of those where code2 exists for certain suppliers. The search that I am using is: [search db=products.db&eqSupplierdatarq=[OrderFile cart=[cart]][Header5][/OrderFile]&necode_2data=&code_2Summ=T&ProductNamesort =1&startat=[OrderFile cart=[cart]][Header4][/OrderFile]&max=20] This code seems to find all the items for that supplier, including those where code2 doesn't exist. I have tried changing necode_2data= to necode_2data=[blank] and get the same result. Can anyone see where I have gone wrong? Thanks Erol ------------------------------------------------------------- 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 for non blank fields ( "Erol Guneri" 2004)
  2. Search for non blank fields ( "Erol Guneri" 2004)
Hi Guys, I am having a slight problem with a search. I have a database with products that have 2 codes and am trying to generate a list of all of those where code2 exists for certain suppliers. The search that I am using is: [search db=products.db&eqSupplierdatarq=[OrderFile cart=[cart]][Header5][/OrderFile]&necode_2data=&code_2Summ=T&ProductNamesort =1&startat=[OrderFile cart=[cart]][Header4][/OrderFile]&max=20] This code seems to find all the items for that supplier, including those where code2 doesn't exist. I have tried changing necode_2data= to necode_2data=[blank] and get the same result. Can anyone see where I have gone wrong? Thanks Erol ------------------------------------------------------------- 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/ "Erol Guneri"

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:

For you Unix gurus [OT] (2002) Passing [quantity] (2000) accented chars. Please help me! (1998) What am I missing (1997) WebCat name recognition (was MacFinder -- a new WebDNA web site) (1998) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) different show next (1997) [isfile] ? (1997) Undeclared variables (2004) [WebDNA] Emailer with TLS & Authentication (2020) Purchase Plugin Missing (1996) Fwd: Handling Charges (1999) RE: Nesting [ListFiles] (1998) Questions To Answer (1997) synching databases on multiple servers (1997) I got caught! (2003) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Images in WebCat (2000) Logging purchases (1997) Multiple fields on 1 input (1997)