Re: Multiple database search

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33832
interpreted = N
texte = Your Honor; on 6/28/00 7:28 AM, the Defendant, Kevin Lippert, confessed:> I have a multiple database search problem I can't figure out. > > A product is described by up to 6 different codes, and I want to display > all the codes from the product database, sorted by a code description > that is looked up from a second database. > > If a product is described by codes S1 to S6: > [search > db=products.db&group1field=S1+S2+S3+S4+S5+S6>group1data=&group1summ=T&asg > roup1sort=1] > > But I can't lookup the founditems based on group1; what I'd like to do is > something like: > [founditems] > [lookup > db=subjcode.db&value=[group1]&lookinfield=subjcode&returnfield=description] > > [/founditems] > > to give me a summarized list of code descriptions sorted by their > description. > > Is there anyway to do this without writing the [founditems] to a > temporary database, resorting, and looking them up from there? > > Thanks in advance, > > Kevin Lippert > > > > ------------------------------------------------------------- > 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/ > do it 'backwards'[founditems][search db=subjcode.db&wogroup1datarq=[gtgroup1data]&group1field=sku][founditems][description][/founditems][/search] [/founditems]HTH-A- ****************************************************************** * Digital Speed Networks, and NineWire Productions have merged!! * * We are now NineWire Digital Solutions * * * ******************************************************************=[gtgroup1data]&group1field=sku][founditems][description][/founditems][/sear ch] [/founditems]er something along those lines. You could likely use loop &/or middle to get the result you want the other way as well ------------------------------------------------------------- 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:

    
  1. Re: Multiple database search q -- Web Catalog 2.1 (John Peacock 2000)
  2. Multiple database search q -- Web Catalog 2.1 (Christopher Feyrer 2000)
  3. Re: Multiple database search (John Peacock 2000)
  4. Re: Multiple database search (Aaron Lynch 2000)
  5. Multiple database search (Kevin Lippert 2000)
Your Honor; on 6/28/00 7:28 AM, the Defendant, Kevin Lippert, confessed:> I have a multiple database search problem I can't figure out. > > A product is described by up to 6 different codes, and I want to display > all the codes from the product database, sorted by a code description > that is looked up from a second database. > > If a product is described by codes S1 to S6: > [search > db=products.db&group1field=S1+S2+S3+S4+S5+S6>group1data=&group1summ=T&asg > roup1sort=1] > > But I can't lookup the founditems based on group1; what I'd like to do is > something like: >
[founditems] > [lookup > db=subjcode.db&value=[group1]&lookinfield=subjcode&returnfield=description] > > [/founditems] > > to give me a summarized list of code descriptions sorted by their > description. > > Is there anyway to do this without writing the [founditems] to a > temporary database, resorting, and looking them up from there? > > Thanks in advance, > > Kevin Lippert > > > > ------------------------------------------------------------- > 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/ > do it 'backwards'[founditems][search db=subjcode.db&wogroup1datarq=[gtgroup1data]&group1field=sku][founditems][description][/founditems][/search] [/founditems]HTH-A- ****************************************************************** * Digital Speed Networks, and NineWire Productions have merged!! * * We are now NineWire Digital Solutions * * * ******************************************************************=[gtgroup1data]&group1field=sku][founditems][description][/founditems][/sear ch] [/founditems]er something along those lines. You could likely use loop &/or middle to get the result you want the other way as well ------------------------------------------------------------- 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/ Aaron Lynch

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) Email (1998) flushdatabases (1997) [WebDNA] Searching Possible Bug (2009) One Hour Email (2002) [WebDNA] Nginx (2010) Users.db [encrypt seed=????] (1998) different ship dates and shopping carts -- how to? (1997) HomePage Caution (1997) CSV import suggestions (2007) RE: WebCat: Access denied, but why? - The solution. (1997) WebDelivery: One step closer !! (1997) WebCat with WebTen (1998) Setting up shop (1997) Using [purchase] (1998) WebCatalog can't find database (1997) Languages (1997) WebCatalog for Postcards ? (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) wrong input values? (1997)