Re: searching more then one
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23272
interpreted = N
texte = Try modify the string so it will be like this[search db=products.db&eqcategorydatarq=Powerbook&eqfeaturedatarq=T]Then each field has to be matchedrq=required!/Martin>Hi,>>I know this has to be simple, but can't get my brain working.>>I want to search my products.db for more then one field, but only want it to>display the one record with the value.>>My code goes like this:>>[search db=products.db&eqcategorydata=Powerbook&eqfeaturedata=T]>>With this I want to search for all records with the category Powerbook,>from all this records there is only one (or two) products with the feature>set to T (true).>>With the above code it gives me back all of the products with the category>Powerbook.>>Any suggestions?>>Sincerely,>Nitai>>***>MacTrade - http://www.mactrade.ch>More Mac for your money>EMail: Info@mactrade.ch>Fax: 052 / 654 15 59>***
Associated Messages, from the most recent to the oldest:
Try modify the string so it will be like this[search db=products.db&eqcategorydatarq=Powerbook&eqfeaturedatarq=T]Then each field has to be matchedrq=required!/Martin>Hi,>>I know this has to be simple, but can't get my brain working.>>I want to search my products.db for more then one field, but only want it to>display the one record with the value.>>My code goes like this:>>[search db=products.db&eqcategorydata=Powerbook&eqfeaturedata=T]>>With this I want to search for all records with the category Powerbook,>from all this records there is only one (or two) products with the feature>set to T (true).>>With the above code it gives me back all of the products with the category>Powerbook.>>Any suggestions?>>Sincerely,>Nitai>>***>MacTrade - http://www.mactrade.ch>More Mac for your money>EMail: Info@mactrade.ch>Fax: 052 / 654 15 59>***
Martin Bech
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:
Re:no template caching (1997)
select multiple (1997)
taxTotal, grandTotal (1997)
Email Not Being Sent (2004)
[WebDNA] Not even sure what to ask for help on. . . :( (2008)
WebCat2: Items xx to xx shown, etc. (1997)
price totals (2003)
RE: Migrating to NT (1997)
Not really WebCat- (1997)
IIS 4 (1998)
Credit Card not accepted (1998)
How can I record purchases to a database? (1998)
Error 11 (1996)
expired beta (1997)
[WebDNA] To Flush, to commit or to...? (2014)
OT: Poll Please (2002)
[Announce] Newest Commerce Site based on WebCatalog (1997)
[WebDNA] Rewrite url (2013)
WebMerchant 3.0 for Mac shipping now (1998)
Showif, Hideif reverse logic ? (1997)