[searchdb=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&wslocationdata=[location]&airlinesort=1&airlinessdir=as&aircrafttypesort=2]   [foundItems]    [airline] [aircrafttype] [regn] [MSN] [notes]
   [/foundItems]  [/search] [/founditems][/search]What this produces is:USA -----------------                     <---- headingAll data, all data                        <---- dataCANADA --------------                     <---- headingAll data, all data                        <---- dataetc...instead of:USA -----------------                     <---- headingUSA data, USA data, USA data              <---- dataCANADA --------------                     <---- headingCANADA data, CANADA data, CANADA data     <---- dataAny more ideas?BillAt 8:40 PM -0800 1/29/99, PCS Technical Support wrote:>>I need to return data based on a location, of which there are 8 (USA,>>CANADA, THE AMERICAS, EUROPE, AFRICA, EAST ASIA, WEST ASIA, OCEANIA). These>>are Summarized from a list of about 150 entries.>>This is called a nested search.  You can see an example using 2 databases>in your online docs at>http://www.smithmicro.com/WebDNAReference/SearchMultipleDatabases.html>>In your case, you're searching a single database, but the idea is the same.>There is no looping or counting necessary, because the [founditems] do that>for you:>>[search>db=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&locationsumm=>T&max>=1]>  [foundItems]>    [location] - [category]
>    [search>db=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&wslocationdat>a=[lo>cation]&airlinesort=1&airlinessdir=as&aircrafttypesort=2]>      [foundItems]>        [airline]>        [aircrafttype]>        [regn]>        [MSN]>        [notes]>      [/founditems]>    [/search]>  [/founditems]>[/search]>>The interior search gets its values for [issue], [category], etcetera, from>the exterior search's [founditems] loop.>>Technical Support                 | ==== eCommerce and Beyond ====>Pacific Coast Software            | WebCatalog, WebMerchant,>11770 Bernardo Plaza Court        | SiteEdit Pro, PhotoMaster,>San Diego, CA 92128               | Typhoon>619/675-1106  Fax: 619/675-0372   | http://www.smithmicro.com/--Bill Heissenbuttel (bill@pagehouse.com) - http://www.pagehouseinc.comPageHouse, Inc. - Internet Presence Provider (509) 892-1973-PGP key ID: 0xE8544665 (http://pgpkeys.mit.edu:11371)
Associated Messages, from the most recent to the oldest:
  | 
  [searchdb=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&wslocationdata=[location]&airlinesort=1&airlinessdir=as&aircrafttypesort=2]   [founditems]    [airline] [aircrafttype] [regn] [MSN] [notes] DOWNLOAD WEBDNA NOW!
   [/foundItems]  [/search] [/founditems][/search]What this produces is:USA -----------------                     <---- headingAll data, all data                        <---- dataCANADA --------------                     <---- headingAll data, all data                        <---- dataetc...instead of:USA -----------------                     <---- headingUSA data, USA data, USA data              <---- dataCANADA --------------                     <---- headingCANADA data, CANADA data, CANADA data     <---- dataAny more ideas?BillAt 8:40 PM -0800 1/29/99, PCS Technical Support wrote:>>I need to return data based on a location, of which there are 8 (USA,>>CANADA, THE AMERICAS, EUROPE, AFRICA, EAST ASIA, WEST ASIA, OCEANIA). These>>are Summarized from a list of about 150 entries.>>This is called a nested search.  You can see an example using 2 databases>in your online docs at>http://www.smithmicro.com/WebDNAReference/SearchMultipleDatabases.html>>In your case, you're searching a single database, but the idea is the same.>There is no looping or counting necessary, because the [founditems] do that>for you:>>[search>db=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&locationsumm=>T&max>=1]>  [founditems]>    [location] - [category]
>    [search>db=fleet.db&wsissuedatarq=[issue]&wscategorydatarq=[category]&wslocationdat>a=[lo>cation]&airlinesort=1&airlinessdir=as&aircrafttypesort=2]>      [founditems]>        [airline]>        [aircrafttype]>        [regn]>        [MSN]>        [notes]>      [/founditems]>    [/search]>  [/founditems]>[/search]>>The interior search gets its values for [issue], [category], etcetera, from>the exterior search's [founditems] loop.>>Technical Support                 | ==== eCommerce and Beyond ====>Pacific Coast Software            | WebCatalog, WebMerchant,>11770 Bernardo Plaza Court        | SiteEdit Pro, PhotoMaster,>San Diego, CA 92128               | Typhoon>619/675-1106  Fax: 619/675-0372   | http://www.smithmicro.com/--Bill Heissenbuttel (bill@pagehouse.com) - http://www.pagehouseinc.comPageHouse, Inc. - Internet Presence Provider (509) 892-1973-PGP key ID: 0xE8544665 (http://pgpkeys.mit.edu:11371)
Bill Heissenbuttel 
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...