Re: Problem with summ=T & [sum fieldname=]

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38949
interpreted = N
texte = Pretty quick'ndirty o display the values of price for all dates:[search db=x.db&neDatedatarq=01-01-1900&rank=off&Datesumm=t] [founditems] [math show=f]ThisPrice=0[/math] [search db=x.db&eqDatedatarq=[Date]&rank=off] [founditems] [text]ThisPrice=[math][ThisPrice]+[Price][/math][/text] [/founditems] [/search] The date is [Date], and the price is [ThisPrice]. [/founditems] [/search] At 10:51 AM 9/28/01, you wrote: >Hi, > >If I use fieldnamesumm=T in my search-query and then want to >calculate the total of the found records with [sum myfield], >the sum of only the first record is shown. What I want is to >calculate the sum of all found records, but show only 1 >record if the dates are the same (datesumm=T). Unfortunately >webcat doesn't do that. Is there some way with which I can >calucalte the CORRECT sum of all found records, but display >only 1 record if some other fieldname value is the same. > >This what I mean: >Instead of >Date Price >25-08-2001 1000 >25-08-2001 2000 > >should be >Date price >25-08-2001 3000 > >Thanks in advance, >Yomo Guiamo > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with summ=T & [sum fieldname=] (Jeroen de Wijn 2001)
  2. Problem with summ=T & [sum fieldname=] (Yomo Guiamo 2001)
Pretty quick'ndirty o display the values of price for all dates:[search db=x.db&neDatedatarq=01-01-1900&rank=off&Datesumm=t] [founditems] [math show=f]ThisPrice=0[/math] [search db=x.db&eqDatedatarq=[date]&rank=off] [founditems] [text]ThisPrice=[math][ThisPrice]+[Price][/math][/text] [/founditems] [/search] The date is [date], and the price is [ThisPrice]. [/founditems] [/search] At 10:51 AM 9/28/01, you wrote: >Hi, > >If I use fieldnamesumm=T in my search-query and then want to >calculate the total of the found records with [sum myfield], >the sum of only the first record is shown. What I want is to >calculate the sum of all found records, but show only 1 >record if the dates are the same (datesumm=T). Unfortunately >webcat doesn't do that. Is there some way with which I can >calucalte the CORRECT sum of all found records, but display >only 1 record if some other fieldname value is the same. > >This what I mean: >Instead of >Date Price >25-08-2001 1000 >25-08-2001 2000 > >should be >Date price >25-08-2001 3000 > >Thanks in advance, >Yomo Guiamo > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Jeroen de Wijn

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:

Where is f2? (1997) Problems passing [SKU] with $Replace in 2.0 (1997) [WebDNA] Webdna 6.2 on OSX 10.10 (2017) More Search Engine (2002) Followup question re: checksum for credit cards? (1997) setlineiems and UnitShip Cost (2000) The USArea® Network web site ... (1997) Two prices in shoppingcart? (1997) Grep Help (2003) WebCat2b15MacPlugin - showing [math] (1997) Cart Number sequence (1997) Fun with dates (1997) Cancel Subscription (1996) CloseDataBase vs CommitDataBase (2007) Dynamic Pop up menu? (1997) ANSWER to: CC Merchant suggestions?? (1997) [WebDNA] Conditional search (2009) NT vs Mac (1997) Bug Report, maybe (1997) HomePage Caution (1997)