Re: This message couldn't reach the list!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21114
interpreted = N
texte = I've used the following code for results flowing in two columns: [Search ...]
[FoundItems] [SomeField]
[ShowIf [index]=[format .0f][math]([NumFound]/2)+.49[/math][/format]]
[/ShowIf] [/FoundItems]
[/Search]Note: the +.49 insures that the left column will always be longer than the right column.For a 3-column flowing setup, you'd probably want to do something like this: [Search ...]
[FoundItems] [SomeField]
[ShowIf [index]=[format .0f][math]([NumFound]/3)+.32[/math][/format]]
[/ShowIf] [ShowIf [index]=[format .0f][math]([NumFound]*2/3)+.32[/math][/format]] [/ShowIf] [/FoundItems]
[/Search]I haven't done much testing of this, but it should do what you're looking for.-Dave At 12:14 PM 11/18/98, Claude G#233#linas wrote: >Maybe I missed some of the best tips to do this but has anyone come up with >a good way to flow the results of a WebCatalog query in this manner (a code >sample would be a great help): > >EXAMPLE: >Here are your matching results: >City 1 City 4 City 7 >City 2 City 5 City 8 >City 3 City 6 >o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  2. Re: This message couldn't reach the list! (multi-column (Claude Gélinas 1998)
  3. Re: This message couldn't reach the list! (Kenneth Grome 1998)
  4. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  5. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  6. Re: This message couldn't reach the list! (multi-column (PCS Technical Support 1998)
  7. Re: This message couldn't reach the list! (Dave MacLeay 1998)
  8. Re: This message couldn't reach the list! (multi-column layout ofsearch results) (PCS Technical Support 1998)
  9. This message couldn't reach the list! (Claude Gélinas 1998)
I've used the following code for results flowing in two columns: [Search ...]
[founditems] [SomeField]
[ShowIf [index]=[format .0f][math]([NumFound]/2)+.49[/math][/format]]
[/ShowIf] [/FoundItems]
[/Search]Note: the +.49 insures that the left column will always be longer than the right column.For a 3-column flowing setup, you'd probably want to do something like this: [Search ...]
[founditems] [SomeField]
[ShowIf [index]=[format .0f][math]([NumFound]/3)+.32[/math][/format]]
[/ShowIf] [ShowIf [index]=[format .0f][math]([NumFound]*2/3)+.32[/math][/format]] [/ShowIf] [/FoundItems]
[/Search]I haven't done much testing of this, but it should do what you're looking for.-Dave At 12:14 PM 11/18/98, Claude G#233#linas wrote: >Maybe I missed some of the best tips to do this but has anyone come up with >a good way to flow the results of a WebCatalog query in this manner (a code >sample would be a great help): > >EXAMPLE: >Here are your matching results: >City 1 City 4 City 7 >City 2 City 5 City 8 >City 3 City 6 >o--------------- 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:

WebDNA :: Product Reviews (2006) RE: protect tag on NT (1997) # fields limited? (1997) NetSplat and WebCat2 (1997) WCS Newbie question (1997) Showif, Hideif reverse logic ? (1997) WebCat2b12 - nesting [tags] (1997) Sendmail (1999) Nested tags count question (1997) WebCatalog Hosting (1996) Encrypt Users.db problem (1998) This message couldn't reach the list! (multi-column (1998) quit command on NT (1997) Some Questions (1997) Setting up shop (1997) WCS Newbie question (1997) Nested tags count question (1997) WebDNA on OS X Tiger (2006) Sku numbers (1997) WCf2 and nested tags (1997)