Re: Generating Report Totals
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11184
interpreted = N
texte = >>Total purchases to date: $[format 5.2f][search>>db=XXX.db&nedatedata=0][math][founditems]>>[NumericField]+[/founditems]0[/math][/search][/format]This got me on the right track. I had not thought of having two or more [founditems] contexts in the same page. My search is generated by form data, so I had to put this on the results page, which now has two [founditems] contexts. One set formats the rows of returned records, and the second sums up the numeric fields, using your method. This makes sure the math is done on the exact same set of returned records. Works great, and opens up lots of possibilities.Thanks.
Associated Messages, from the most recent to the oldest:
>>Total purchases to date: $[format 5.2f][search>>db=XXX.db&nedatedata=0]
[math][founditems]>>[NumericField]+[/founditems]0[/math][/search][/format]This got me on the right track. I had not thought of having two or more
[founditems] contexts in the same page. My search is generated by form data, so I had to put this on the results page, which now has two
[founditems] contexts. One set formats the rows of returned records, and the second sums up the numeric fields, using your method. This makes sure the math is done on the exact same set of returned records. Works great, and opens up lots of possibilities.Thanks.
Dan Gilpin
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:
Shownext problems (1999)
[TCPSend] and whois? (1999)
[WebDNA] Security Problem (2015)
[isfolder] and [filename] (1997)
Spawn doesn't work as advertised ... (2000)
Emailer choke (1997)
[SQL Connect] (2007)
Formating found categories (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Sort Order on a page search (1997)
Summary layout (1997)
Summary search -- speed (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
JavaScript form question (2001)
[Announce] WebCatalog 2.1 Released (1998)
Help name our technology! (1997)
Stinkin' [Referrer] (1998)
OT: Need some feedback, please. (2003)
[tcpconnect] doing nothing- SM any help here??? (2001)
A question on sub-categories (1997)