Re: Summing fields
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10825
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,Is there any way to do something like this with other variables, such as avariable that occurs 'outside' of a math context?Sincerely,Ken
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,Is there any way to do something like this with other variables, such as avariable that occurs 'outside' of a math context?Sincerely,Ken
Kenneth Grome
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:
MacOS alias identification? (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
emailer (1997)
Check if file exists (2000)
WebCat b13 CGI -shownext- (1997)
Listserver problem (1997)
Is there a max number of fields? (1998)
[SearchString] (1998)
Dark Horse Comics success story (1997)
Links and Carriage Returns, Oh my! (2000)
webCatalog and Stocks (1998)
Ok here is a question? (1997)
wc 2 pro users - sites, quotes wanted (1997)
For those of you not on the WebCatalog Beta... (1997)
Shownext on AOL (2003)
Loops in increments of .25 (2002)
Universal db access template ... (2002)
adding up in a db (1997)
Web Logs (1998)
Superfilous Characters (1998)