Re: Sub Totals
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29214
interpreted = N
texte = No idea, but Derrick's solution looks like the way I would do it.- Charles>Thanks Charles - Your example clarified how the variables are calculated.>Somehow I am not correctly placing the code using the [foundItems] tags.>Brian wrote: do your search and put in 2 [founditems] tags.>put in 2 [foundItems] tags' I interpret as beginning and end tags or does>it?>---------->>From: Charles Kline
>>To: (WebCatalog Talk)>>Subject: Re: Sub Totals>>Date: Fri, Mar 17, 2000, 11:48 AM>>>>>>Can some walk me through: 0[founditems]+[cost][/founditems] to get a sub>>>total in a found items context.>>>>>>>> sure. [founditems] is a loop. It will loop once for every matching>> record. Therefore, inside the [math][/math] what you are doing is>> this.>>>> Say your search returned 3 items. Each of these items has a value in>> it's cost field: 5.00 7.00 and 15.00>>>> so to show what the code would look like if you could see it when it>> is interpreted it would look something like:>>>> [math]0+5.00+7.00+15.00[/math] where each of the values for cost are>> from each of the items found in your search.>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
No idea, but Derrick's solution looks like the way I would do it.- Charles>Thanks Charles - Your example clarified how the variables are calculated.>Somehow I am not correctly placing the code using the [founditems] tags.>Brian wrote: do your search and put in 2 [founditems] tags.>put in 2 [founditems] tags' I interpret as beginning and end tags or does>it?>---------->>From: Charles Kline >>To: (WebCatalog Talk)>>Subject: Re: Sub Totals>>Date: Fri, Mar 17, 2000, 11:48 AM>>>>>>Can some walk me through: 0[founditems]+[cost][/founditems] to get a sub>>>total in a found items context.>>>>>>>> sure. [founditems] is a loop. It will loop once for every matching>> record. Therefore, inside the [math][/math] what you are doing is>> this.>>>> Say your search returned 3 items. Each of these items has a value in>> it's cost field: 5.00 7.00 and 15.00>>>> so to show what the code would look like if you could see it when it>> is interpreted it would look something like:>>>> [math]0+5.00+7.00+15.00[/math] where each of the values for cost are>> from each of the items found in your search.>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Charles Kline
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] try/except (2015)
upgrading (1997)
Opposite of Summ=T? (2000)
[WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (2010)
Signup form db weirdness (2006)
problems with 2 tags shakur (1997)
Replace context problem ... and answers (1997)
WebCatalog dying in WebTen (1998)
emailer (1997)
WebDNA 6.0a for Apache 2.2.4 (2007)
Exporting from Excel (1998)
WebCat2 several catalogs? (1997)
RE: New WebCatalog Version !!! (1997)
Individual Tax on Items (1998)
emailer (1997)
Test (2003)
Security hole in WebCat? (1999)
[delete] problem (1997)
security (1997)
Location of Browser Info.txt file (1997)