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:

b18 problem on NT 4.0 (1997) Variable prices and Formulas.db (1997) Other tags inside the founditems context? (1998) Encrypted Databases (2000) Bug Report, maybe (1997) (1997) [Sum] function? (1997) Weird Problem (1997) Passing Variables.. yikes, I'm dumb (2000) PIXO support (1997) Ghostly cached webpage (2000) Safari browser and WebDNA set-cookies (2003) Sku numbers (1997) PSC recommends what date format yr 2000??? (1997) emailer (1997) Sort Order on a page search (1997) WebCat2 - Getting to the browser's username/password data (1997) Bug Report, maybe (1997) [WebDNA] Strange happenings (2012) No comment (1997)