Re: Summing fields

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10816
interpreted = N
texte = >> [math]total=[FoundItems][field]+[/FoundItems]0[/math]>Apparently both methods work cause I see the 's. The second >displayed the total as I wanted. How would I get the total to display >using the first method? I like the first method since I use the same >total several times. Would avoid having to calculate itseveral times >andkeep the templates shorter.Here's how you show it in several places on the same page:[math]total=[FoundItems][field]+[/FoundItems]0[/math] <-calcs & displays total[math]total[/math] <-displays same value as beforeGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Summing fields in a search/founditems context?? (Jason Tyler 2000)
  2. Summing fields in a search/founditems context?? (Robert McPeak 2000)
  3. Re: Summing Fields (Martin Gertz Bech 1998)
  4. Re: Summing Fields (Christer Olsson 1998)
  5. Summing Fields (Wayne Morishige 1998)
  6. Re: Summing fields (grichter@panavise.com (Gary Richter) 1997)
  7. Re: Summing fields (Grant Hulbert 1997)
  8. Re: Summing fields (Kenneth Grome 1997)
  9. Re: Summing fields (grichter@panavise.com (Gary Richter) 1997)
  10. Re: Summing fields (Grant Hulbert 1997)
  11. Re: Summing fields (Kenneth Grome 1997)
  12. Re: Summing fields (Britt T. 1997)
  13. Re: Summing fields (Grant Hulbert 1997)
  14. Re: Summing fields (Kenneth Grome 1997)
  15. Re: Summing fields (Grant Hulbert 1997)
  16. Re: Summing fields (Dean Smith 1997)
  17. Re: Summing fields (Dean Smith 1997)
  18. Re: Summing fields (Grant Hulbert 1997)
  19. Summing fields (Dean Smith 1997)
>> [math]total=[founditems][field]+[/FoundItems]0[/math]>Apparently both methods work cause I see the 's. The second >displayed the total as I wanted. How would I get the total to display >using the first method? I like the first method since I use the same >total several times. Would avoid having to calculate itseveral times >andkeep the templates shorter.Here's how you show it in several places on the same page:[math]total=[founditems][field]+[/FoundItems]0[/math] <-calcs & displays total[math]total[/math] <-displays same value as beforeGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

OT mod_rewrite (was urls) (2005) What am I missing (1997) If Empty ? (1997) New Site Announcement (1998) newcart (1997) many-to-one problem (1998) RE: Multiple Stores and WebCatalog Prefs (1997) How can I record purchases to a database? (1998) [WebDNA] El Capitan (2017) [WebDNA] WebDNA Server 8.6.4 working on macOS 10.15.x Catalina ** (2020) (2000) [date format] w/in sendmail (1997) Editing the search string (1997) Separate SSL Server (1997) [WebDNA] XML error? (2015) [SearchString] usage (1997) Artwork (1997) WebCatalog-NT?'s (1996) Webcat no longer supported? (2006) Surprise x and y post args (1998)