Re: Sub Totals

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29213
interpreted = N
texte = 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Sub Totals (Eric Palhof 2000)
  2. Re: Sub Totals (Charles Kline 2000)
  3. Re: Sub Totals (Eric Palhof 2000)
  4. Re: Sub Totals (Derrick Puckett 2000)
  5. Re: Sub Totals (Charles Kline 2000)
  6. Re: Sub Totals (Eric Palhof 2000)
  7. Re: Sub Totals (Eric palhof 2000)
  8. Re: Sub Totals (Brian Boegershausen 2000)
  9. Sub Totals (Eric palhof 2000)
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 Eric Palhof

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:

RequiredFields and MacOS X Server? (2000) greater than or equal to (1997) Multiple 'Users.db' files not possible (1997) More DateMath problems (1997) displaying New products (Yikes! it's Fixed!) (1997) Setting up shop (1997) [Sum] function? (1997) Windows-based Code Editor (2002) ADMIN ACCESS (1999) WCS Newbie question (1997) [tcpconnect] doing nothing- SM any help here??? (2001) searchable list archive (1997) HomePage Caution (1997) WCS Newbie question (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat and image maps (1997) PhotoMill -> PhotoMaster (1997) Nesting format tags (1997) PIXO support (1997) [returnraw] and form variables (1998)