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 Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>>
[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 Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
FW: ANother SHOWIF problem (1997)
send mail problem? (1997)
[WebDNA] OT - JS help (2008)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
[WebDNA] [FormVariables] Template (2013)
Why don't Typhoon & Firesite work together? (and webcat) (1998)
View order not right (1997)
lookup command (1999)
[writefile] (1997)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
Running _every_ page through WebCat-error.html (1997)
Bug? (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
[OT] MySQL Expert Needed (2004)
Email notification to one of multiple vendors ? (1997)
Electronic Delivery (1997)
PhotoMill -> PhotoMaster (1997)
WebCat and WebTV (1997)
Document Contains No Data! (1997)
hyperlinking unique input strings on the fly when displaying in HTML (2000)