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:
Stinkin' [Referrer] (1998)
Add more fields to an existent data base (1997)
WebCatalog 2.1 License for Sale (1998)
How can I record purchases to a database? (1998)
How do I ad to an existing cart? (2000)
Installed 4.5 but indicates 4.50rc2 (2002)
Various Problems (1997)
RE: Automatic Forwarding using WebCat (1997)
Searchable WebCat (etc.) Docs ? (1997)
RE: [WebDNA] Hmmm ... (2008)
Protect and Serve (1999)
form data submission gets truncated (1997)
Replto in [SendMail] (2000)
P1: How to make webcatalog more stable. - LONG (1999)
OT Weird Messenger Service message (2002)
Problem decrypting encrypted data on different machine (2000)
Formatting a .txt file (1998)
[FoundItems] solved - thanks (1997)
WebCatalog Hosting (1996)
For Grant: Webcatalog 4.0 - When will we be able to betatest it? (2000)