Re: Sorting problem
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41424
interpreted = N
texte = That worked perfect Brian, thank you guys very much for helping me out.DonOn 7/10/02 10:21 PM, Brian Fries
wrote:> In order to get the TDC.db search to sort all items you're trying to> list, you've got to find all the items with only one call to the> [search] context. Instead of nesting your searches, first search the> PrinterDB.db and build a list of all the cartridges you want into a> text variable, then search the TDC.db matching all cartridges in the> list. Something like this:> > [text]cartList=[/text][!]intialize list to be empty[/!]> [search > db=TDC_Databases/PrinterDB.db&eqModeldata=[Model]&eqCARTRIDGESdata=[CARTRIDGES> ]][foundItems]> [text]cartList=[cartList]+[CARTRIDGES][/text]> [/founditems]> [/search]> > [search > db=TDC_Databases/TDC.db&woManufacturePartNumberdata=[cartList]&ManufacturerPar> tNumberword=ww&allhit=1&asSORTORDERsort=1&max=20&startat=[url][startat][/url]]> [foundItems]> [sortorder] [title]
> [/foundItems]> [/search]
-- ************************************************************ Apple SpecialistDon Chatwin Phone: 800-645-2533T.D. Curran Inc. Fax: 360-594-3987800 Marine Drive email: don@tdcurran.comBellingham WA 98225 Web: http://www.tdcurran.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
That worked perfect Brian, thank you guys very much for helping me out.DonOn 7/10/02 10:21 PM, Brian Fries wrote:> In order to get the TDC.db search to sort all items you're trying to> list, you've got to find all the items with only one call to the> [search] context. Instead of nesting your searches, first search the> PrinterDB.db and build a list of all the cartridges you want into a> text variable, then search the TDC.db matching all cartridges in the> list. Something like this:> > [text]cartList=[/text][!]intialize list to be empty[/!]> [search > db=TDC_Databases/PrinterDB.db&eqModeldata=[Model]&eqCARTRIDGESdata=[CARTRIDGES> ]][founditems]> [text]cartList=[cartList]+[CARTRIDGES][/text]> [/founditems]> [/search]> > [search > db=TDC_Databases/TDC.db&woManufacturePartNumberdata=[cartList]&ManufacturerPar> tNumberword=ww&allhit=1&asSORTORDERsort=1&max=20&startat=[url][startat][/url]]> [founditems]> [sortorder] [title]
> [/foundItems]> [/search]
-- ************************************************************ Apple SpecialistDon Chatwin Phone: 800-645-2533T.D. Curran Inc. Fax: 360-594-3987800 Marine Drive email: don@tdcurran.comBellingham WA 98225 Web: http://www.tdcurran.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://search.smithmicro.com/
Don
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:
Formating found categories (1997)
WebCat2final1 crashes (1997)
WebCat2b13MacPlugIn - more [date] problems (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
TCPConnect & TCPSend (2003)
Cart Creation (1998)
syntax question, not in online refernce (1997)
Webstar 1.3.1 PPC (1997)
[protect] (2000)
Good vs. Bad; also [setHeader] (2002)
Caching pages...again (2001)
Striping Characters (1998)
Issue with plug-in Webcat, webstar 4.x, SSL and IE when using the backbuttom (2000)
bye bye tax rate (1998)
[SearchString] problem with [search] context (1997)
Stopping bad HTML propagation ? (1997)
[WebDNA] max in a search (2009)
multiple databases (1997)
converting tabs (1997)
WebCat2: multiple currency support (1997)