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:

New WebDNA Solutions ... (1997) [WebDNA] SweepCartFrequency (2010) Https not showing products (2004) Cart Database (1999) 2.0Beta Command Ref (can't find this instruction) (1997) WebCatalog/Mac 2.1b2 New Features (1997) 4.0x on production server (2000) Need relative path explanation (1997) no [search] with NT (1997) How to Display text in empty fields (1997) WebCat b13 CGI -shownext- (1997) taxRate is fine but taxTotal isn't (1997) using showpage and showcart commands (1996) Emailer (1997) Another question about credit cards (1997) Explorer 3.0 (1997) [WebDNA] exemple of [arrayset] & [arrayget] (2012) WebCat2 beta 11 - new prefs ... (1997) More on the email templates (1997) WebCat editing, SiteGuard & SiteEdit (1997)