Re: How do I write this search?
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66589
interpreted = N
texte = [Search db=../orders.db&neSHIPPEDdatarq=F&eqAPPROVEDdatarq=T]If you don't flag unshipped orders ie marked as F[Search db=../orders.db&neSHIPPEDdatarq=[blank]&eqAPPROVEDdatarq=T]Stuart Tremainidfk web developments, sydney, australiaOn 30 Mar 2006, at 12:15 PM, WJ Starck wrote:> I have a database that contains the fields [approved] and [shipped] > that are flagged to T to indicate whether the credit card auth has > been approved and the item has shipped, respectively.>> I have a webpage that generates barcodes that we scan to create > shipping labels, so on this page I want to show only those records > that have been approved but *not* shipped.>> If I do:>> [search db=../ > orders.db&neshippeddata=T&asorderdatesort=1&astimesort=2]>> I get all records that have not been shipped in a second or two, > but this is not what I want.>> If I add &eqapproveddata=T to the above like so:>> [search db=../ > orders.db&neshippeddata=T&eqapproveddata=T&asorderdatesort=1&astimesor > t=2]>> the search takes a ridiculously long time to display the records > because it is or-ing the neshippedata and eqapproveddata fields, > and basically displaying all the approved records, which is just > about everything in the database.>> I want all the records that have been approved *and* not shipped.>> What's the solution?>> Do I need to group the fields somehow?>> -Will>>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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:
[Search db=../orders.db&neSHIPPEDdatarq=F&eqAPPROVEDdatarq=T]If you don't flag unshipped orders ie marked as F[Search db=../orders.db&neSHIPPEDdatarq=[blank]&eqAPPROVEDdatarq=T]Stuart Tremainidfk web developments, sydney, australiaOn 30 Mar 2006, at 12:15 PM, WJ Starck wrote:> I have a database that contains the fields [approved] and [shipped] > that are flagged to T to indicate whether the credit card auth has > been approved and the item has shipped, respectively.>> I have a webpage that generates barcodes that we scan to create > shipping labels, so on this page I want to show only those records > that have been approved but *not* shipped.>> If I do:>> [search db=../ > orders.db&neshippeddata=T&asorderdatesort=1&astimesort=2]>> I get all records that have not been shipped in a second or two, > but this is not what I want.>> If I add &eqapproveddata=T to the above like so:>> [search db=../ > orders.db&neshippeddata=T&eqapproveddata=T&asorderdatesort=1&astimesor > t=2]>> the search takes a ridiculously long time to display the records > because it is or-ing the neshippedata and eqapproveddata fields, > and basically displaying all the approved records, which is just > about everything in the database.>> I want all the records that have been approved *and* not shipped.>> What's the solution?>> Do I need to group the fields somehow?>> -Will>>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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/
Stuart Tremain
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:
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Tab Charactor (1997)
Grep Help (2003)
encrypting templates.... (2000)
Help! WebCat2 bug (1997)
Installing WebCat under Linux Q (2000)
JavaScript (1998)
Multiple catalog databases and showcart (1997)
Re:I've had it! (1999)
What abobut variables named max ??? (2000)
[WebDNA] math and blank /no value (2014)
pop up menu's (1998)
Which GUI HTML editors work with WC ? (1997)
WebCat ignoring Shopping Cart Folder (2001)
Problem with ShoppingCart.tpl refresh (2000)
Webcat2, WebCommerce, Mod 10 etc. (1997)
unable to launch acgi in WebCat (1997)
Bulletin Board (1998)
Training Announcement (2004)
Emailer 1.0.2 Conflicts? (1998)