Displays by Categories

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27925
interpreted = N
texte = I sure can use some help, please.My database contains fields for Type of Plant (called MasterCategory) and its Genus (called Category). I'd like to display the MasterCategory and have the Categories associated with each type display below.Examples are-- MasterCategory: Trees and Shrubs Annuals Perrenials VinesCategory: ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAI'd like the display to be similar to this: Trees and Shrubs ACER BETULA CORNUSAnnuals BEGONIA CLEOME FUCHSIAPerrenials ACANTHUS BOLTONIA CISTUSVines ACTINIDIA CAMPSIS WISTERIA I set it up as follows:[search db=TeaRoom.db&geSKUdata=0&MasterCategorysumm=t&asMasterCategorysort=1] [foundItems] [MasterCategory]--
[search db=TeaRoom.db&geSKUdata=0&Categorysumm=t&asCategorysort=1] [foundItems] [Cat egory]
[/foundItems] [/search]

[/foundItems] [/search]Here's what gets displayed: Annuals ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAPerrenials ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIATrees and Shrubs ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAVines ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAThe MasterCategory is displayed properly, but ALL Categories are displayed for each one. I tried using a [showif] or [hideif], but have no comparison to use.How can I get this to display ONLY the Categories associated with each MasterCategory?TIA, Glenn ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Displays by Categories (Glenn Busbin 2000)
  2. Re: Displays by Categories (Chuck Rice 2000)
  3. Re: Displays by Categories (jpeacock@univpress.com 2000)
  4. Re: Displays by Categories (Matt Helbing 2000)
  5. Displays by Categories (Glenn Busbin 2000)
I sure can use some help, please.My database contains fields for Type of Plant (called MasterCategory) and its Genus (called Category). I'd like to display the MasterCategory and have the Categories associated with each type display below.Examples are-- MasterCategory: Trees and Shrubs Annuals Perrenials VinesCategory: ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAI'd like the display to be similar to this: Trees and Shrubs ACER BETULA CORNUSAnnuals BEGONIA CLEOME FUCHSIAPerrenials ACANTHUS BOLTONIA CISTUSVines ACTINIDIA CAMPSIS WISTERIA I set it up as follows:[search db=TeaRoom.db&geSKUdata=0&MasterCategorysumm=t&asMasterCategorysort=1] [founditems] [MasterCategory]--
[search db=TeaRoom.db&geSKUdata=0&Categorysumm=t&asCategorysort=1] [founditems] [cart]&category=[url][Category][/url]&startat=1>[Cat egory]
[/foundItems] [/search]

[/foundItems] [/search]Here's what gets displayed: Annuals ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAPerrenials ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIATrees and Shrubs ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAVines ACER BETULA CORNUS BEGONIA CLEOME FUCHSIA ACANTHUS BOLTONIA CISTUS ACTINIDIA CAMPSIS WISTERIAThe MasterCategory is displayed properly, but ALL Categories are displayed for each one. I tried using a [showif] or [hideif], but have no comparison to use.How can I get this to display ONLY the Categories associated with each MasterCategory?TIA, Glenn ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Glenn Busbin

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:

Return records from another (1997) Not really WebCat (1997) [table] strange behaviour (2003) Re:2nd WebCatalog2 Feature Request (1996) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Unexpected error (1997) ErrorMessages.db (1998) [OT] Dedicated Image Uploader/Server [/OT] (2003) Image as submit button (2000) RED QUESTION MARK (1999) Nested tags count question (1997) [WebDNA] How to code a 301 redirect (2008) [isfile] ? (1997) Encrypt File (2006) [format xs] freeze (1997) [WebDNA] mac osx permissions problem (2010) WebCat/Typhoon Status under Windows (1998) I got caught! (2003) can webcat create directories on NT? (1997) Looping a variable name with [index] (1999)