Re: sorting...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52830
interpreted = N
texte = You said your field is called THE_BRAND, then you written it wrongly in your search params just calling it BRAND, and that's why it's not sorting. [search db=admin/products.db&neTHE_BRANDdatarq=find_all[!] [/!]&grNO_INVENTORYdatarq=0[!] [/!]&THE_BRANDsumm=T&asTHE_BRANDsort=1] Regards, Tim > From: Alan White > Reply-To: (WebDNA Talk) > Date: Fri, 12 Sep 2003 12:32:10 +0100 > To: (WebDNA Talk) > Subject: sorting... > > Hi > > I have a menu that I need to sort alphabetically. The search is for a list > of brands available on our site but the brand is stored in the products.db > as a number in a field called THE_BRAND and a lookup is done on the brand.db > to find the name. > > The brands are coming out ok but I am having difficulty trying to sort them, > here is the code:- > > [search > db=admin/products.db&neBRANDdatarq=find_all&grNO_INVENTORYdatarq=0&BRANDsumm > =T&asBRANDsort=1] > > [/search] > > Any help appreciated... > > Thanks > Alan > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: Sorting... stumped. ( "Dan Strong" 2006)
  2. Re: Sorting... stumped. ( Frank Nordberg 2006)
  3. Re: Sorting... stumped. ( "Dan Strong" 2006)
  4. Re: Sorting... stumped. ( Alex McCombie 2006)
  5. Re: Sorting... stumped. ( "Dan Strong" 2006)
  6. Re: Sorting... stumped. ( Alex McCombie 2006)
  7. Re: Sorting... stumped. ( "Dan Strong" 2006)
  8. Re: Sorting... stumped. ( "Dan Strong" 2006)
  9. Re: Sorting... stumped. ( "Dan Strong" 2006)
  10. Sorting... stumped. ( "Dan Strong" 2006)
  11. Re: sorting... ( Tim Robinson 2003)
  12. Re: sorting... ( Brian Fries 2003)
  13. Re: sorting... ( "Andrew Simpson" 2003)
  14. sorting... ( Alan White 2003)
  15. Re: sorting... (Kalin Mintchev 2003)
  16. Re: sorting... (Brian Fries 2003)
  17. sorting... (Kalin Mintchev 2003)
You said your field is called THE_BRAND, then you written it wrongly in your search params just calling it BRAND, and that's why it's not sorting. [search db=admin/products.db&neTHE_BRANDdatarq=find_all[!] [/!]&grNO_INVENTORYdatarq=0[!] [/!]&THE_BRANDsumm=T&asTHE_BRANDsort=1] Regards, Tim > From: Alan White > Reply-To: (WebDNA Talk) > Date: Fri, 12 Sep 2003 12:32:10 +0100 > To: (WebDNA Talk) > Subject: sorting... > > Hi > > I have a menu that I need to sort alphabetically. The search is for a list > of brands available on our site but the brand is stored in the products.db > as a number in a field called THE_BRAND and a lookup is done on the brand.db > to find the name. > > The brands are coming out ok but I am having difficulty trying to sort them, > here is the code:- > > [search > db=admin/products.db&neBRANDdatarq=find_all&grNO_INVENTORYdatarq=0&BRANDsumm > =T&asBRANDsort=1] > > [/search] > > Any help appreciated... > > Thanks > Alan > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Tim Robinson

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:

Reminder... (2003) Attn: Bug in GeneralStore example b15 (1997) Page-Execution-Timer...PHP vs WebDNA (2004) Browser (agent) stats... (2004) Generating unique SKU from [cart] - Still Stumped... (1997) Purchase Plugin Missing (1996) Reading through the Order File (1999) Out of the woodwork (2007) WebCat2 - many [carts] on one template page? (1997) unable to launch acgi in WebCat (1997) WebCat2b15MacPlugin - [protect] (1997) How do I enter a carriage return for my StartAfter valueina [middle] context? (2002) Solaris (2000) If Empty ? (1997) Bad cookie (1998) Setting up the server (1997) calculating unique time (1998) Web Logs (1998) more on my bbs (1997) WebDNA for Dummies (OT) (2004)