[/FoundItems][/Search]The basic idea is that the outer search summarizes by state, and thenwithin each found state, it does another search to list the cities withinthat state. I used non-breaking spaces to achieve the indentation, but youcould also use
-DaveP.S> Is the benjerry.com site an in-house project?At 3:27 PM 8/21/98, Joe Wilkins wrote:>I'm using WebCat for a list of franchised scoop shops. I'm sorting on>state, city and then store name. Is there a way to group the cities>within their state and then skip a line or display the state name as a>header before listing the next state.>>I'd like the results to be something like this.>>Arizona> Tempe> Tucson>>California> Agora> Berkeley> Brentwood> Burbank>>etc.>>Joe Wilkins>Ben & Jerry's>joe@benjerry.como--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:
Joe,Try something like this:[Search db=shops.db&neShopNamedatarq=[blank]&Statesumm=T][founditems] [State]
- Re: sorting and grouping (Michael Winston
1998) - Re: sorting and grouping (bob
1998) - sorting and grouping (Joe Wilkins
1998) - Re: sorting and grouping (Dave MacLeay
1998)
[Search db=shops.db&eqStatedatarq=[State]&Citysumm=T] [founditems] [City]
[/FoundItems] [/Search][/FoundItems][/Search]The basic idea is that the outer search summarizes by state, and thenwithin each found state, it does another search to list the cities withinthat state. I used non-breaking spaces to achieve the indentation, but youcould also use
or
-DaveP.S> Is the benjerry.com site an in-house project?At 3:27 PM 8/21/98, Joe Wilkins wrote:>I'm using WebCat for a list of franchised scoop shops. I'm sorting on>state, city and then store name. Is there a way to group the cities>within their state and then skip a line or display the state name as a>header before listing the next state.>>I'd like the results to be something like this.>>Arizona> Tempe> Tucson>>California> Agora> Berkeley> Brentwood> Burbank>>etc.>>Joe Wilkins>Ben & Jerry's>joe@benjerry.como--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+ Dave MacLeay
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:
Problems passing [SKU] with $Replace in 2.0 (1997) and more [shipcost].... (2001) Using [Showif] tag. Mac (1997) Separate SSL Server (1997) Math, Multiple Equasions and Show/Hide (1998) Lost and Recovered. (1998) This message couldn't reach the list! (1998) StoreBuilder help/question (2000) Exclamation point (1997) Country & Ship-to address & other fields ? (1997) snicker, snicker (1997) Not really WebCat - need HTML Grider (1997) Up and running ... at last !! (1997) merchant account recommendations? (2002) Request for page test (2003) Country & Ship-to address & other fields ? (1997) Missing something simple? (1999) possible, WebCat2.0 and checkboxes-restated (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Quitting WebMerchant ? (1997)