Re: Parse question

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60688
interpreted = N
texte = on 1/7/2005 9:01 am, stephen@msrit.com at stephen@msrit.com so noted... > I run a search on products found based on a date range. > > The numfound equals 250. > > I want to then display: > > Product ID: 1234 numfound: 50 > Prodcut ID: 5678 numfound: 100 > Product ID: 9012 numfound: 100 You could do something based upon this. Sorting of the search will determine the order the variables are created (and in turn, the order they're displayed). If your product IDs are long or contain more than just letters and numbers, you'd have to use text variables instead of math. [search db=products.db&neProductIDdata=[blank]] [numfound] [founditems] [math show=F]v_[productID]=1+0[math]v_[ productID][/math][/math] [/founditems] [/search] [listvariables name=v_&exact=F] Product ID: [getchars start=3][name][/getchars] numfound: [value]
[/listvariables] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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: Parse question ( stephen@msrit.com 2005)
  2. Re: Parse question ( Aaron Lynch 2005)
  3. Re: Parse question ( Rob Marquardt 2005)
  4. Re: Parse question ( "WebDna @ Inkblot Media" 2005)
  5. Re: Parse question ( Donovan Brooke 2005)
  6. Re: Parse question ( stephen@msrit.com 2005)
  7. Re: Parse question ( "WebDna @ Inkblot Media" 2005)
  8. Re: Parse question ( stephen@msrit.com 2005)
  9. Re: Parse question ( 2005)
  10. Re: Parse question ( 2005)
  11. Re: Parse question ( Rob Marquardt 2005)
  12. Re: Parse question ( Donovan Brooke 2005)
  13. Parse question ( stephen@msrit.com 2005)
  14. Parse question ( stephen@msrit.com 2005)
on 1/7/2005 9:01 am, stephen@msrit.com at stephen@msrit.com so noted... > I run a search on products found based on a date range. > > The numfound equals 250. > > I want to then display: > > Product ID: 1234 numfound: 50 > Prodcut ID: 5678 numfound: 100 > Product ID: 9012 numfound: 100 You could do something based upon this. Sorting of the search will determine the order the variables are created (and in turn, the order they're displayed). If your product IDs are long or contain more than just letters and numbers, you'd have to use text variables instead of math. [search db=products.db&neProductIDdata=[blank]] [numfound] [founditems] [math show=F]v_[productID]=1+0[math]v_[ productID][/math][/math] [/founditems] [/search] [listvariables name=v_&exact=F] Product ID: [getchars start=3][name][/getchars] numfound: [value]
[/listvariables] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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/ Rob Marquardt

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:

[WebDNA] TCPConnect/cURL alternative for windows? (2010) PIXO support (1997) Using Currencies other than Dollars (1997) [sort of OT] uploading soundfiles. (2002) FREE Web Server Monitor FREE (1997) Sending Email (2004) creates folders with AS (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Looking for 5 to 12 shops with 3 URLs & statements (1997) apostrophe in search item (1997) [Sum] function? (1997) Include a big block of text (1997) Cancel Subscription (1996) [WebDNA] DNA suffix (2008) [BULK] [WebDNA] abstraction code can be tricky... (2012) updating checkbox in a db (1998) Where's Cart Created ? (1997) Nutscrape Doesn't Render Right (2002) Adding insurance to an order, round 2 (2003) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)