Re: Summing fields
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10829
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 before>>Grant,>>Is there any way to do something like this with other variables, such as a>variable that occurs 'outside' of a math context?>>Sincerely,>KenKen, I have not tried this yet, but was going to soon
then do the aboveor
then do the aboveor
I saw this used elsewhere, and can't find notes, but since I can declare avalue in a form in webcat and drag it to another .tmpl ie: in a append...&something=[form.something]... And I think I also have a java scriptsnipit somewhere that used a similar create a variable in a form and usedit elsewhere.Now I could be 100% all wet on this one. Logic seems to tell me it mightwork. Don't shoot me if I am totally illlogical on this, talk to Spock :)===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
grichter@panavise.com (Gary Richter)
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:
access denied problem (1997)
[OT] Site launch (2004)
New Plug-in and Type 11 errors (1997)
[UPPERCASE] (1997)
Progress !! WAS: Trouble with formula.db (1997)
http upload (2001)
Help name our technology! (1997)
Protect (1997)
trouble updating records in database (1998)
Extended [ConvertChars] (1997)
Just Testing (1997)
about this server and links to who (1997)
Price Not Appearing (2000)
Multiple Merchant Accounts? (1997)
Problems with [Math] (1998)
WebCatalog2 Feature Feedback (1996)
creating a ShipCosts database (1997)
PCS Frames (1997)
f2 download problems (1997)
ThisAutoNumber (2003)