[/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:
Only charge card when product shipped ? (1997) alternatives for WebDNA (2004) group searching problem (2002) WebCat2b15MacPlugin - [protect] (1997) CommandSecurity? (1997) WebCat & WebTen (1997) Problem with updating 2.1b7 -> 2.1.1 (1998) fresh eyes needed. Append won't work. (2000) Emailer choke (1997) international time (1997) Emailer (WebCat2) (1997) Emailer (1998) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Emailer update for Mac? (1998) default value from Lookup (was Grant, please help me) (1997) PIXO (1997) [WebDNA] Best practice re: password storage (2013) autosensing lanague selection (1997) Suffix Mapping (1997) OT: Please set your computer's clock (1997)