Re: This [search] worked before update to 4.5.1

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48513
interpreted = N
texte = FYI: I copied your original code with some minor tweaks to access one of my dbs, and the newcust variable incremented fine for me.WebDNA 4.5.1 on OSX.I tried a few other tests as well and was not able to confirm any math bug. Whether or not the math variable was enclosed in square brackets inside a math context made no difference.I don't know why it made a difference for you -- can you try it the old way again to verify that the old code still fails? If there is a math bug, I'd sure like to know about it.- brianOn Thursday, March 6, 2003, at 07:24 PM, WJ Starck wrote:> Ken- > > Yup, that did it. > > Next question: > > Where the H is that documented? > > Or is this a bug? > > Been tearing my hair out over this one... > > -- > > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > wjs@novaderm.com > > > > On Thursday, March 6, 2003, at 09:12 PM, Kenneth Grome wrote: > >>> This snippet is supposed to calculate the number of new customers in >>> a given time frame. It was working before the most recent WebDNA >>> update (4.5.1), now it's not. Nothing changed on the page. >>> >>> >>> [math]newcust=0[/math] >>> >>> [search >>> db=orders.db&neordernumdata=[blank]&group1field=orderdate&group2field >>> =orderdate&gegroup1datarq=[startdate]&legroup2datarq=[enddate]] >>> >>> [founditems] >>> >>> [search db=orders.db&eqnamedatarq=[name]] >>> [showif [numfound]=1] >>> [math]newcust=[newcust]+1[/math] >>> [/showif] >>> [/search] >>> >>> [/founditems] >>> >>> [/search] >>> >>> Basically, [newcust] is always equalling 1 now... >>> >>> I'm stumped. Platform is OSX. >> >> >> >> Seems like a bug in the math context in the OSX version. Have you >> tried this: >> >> [math]newcust=newcust+1[/math] >> >> The brackets around the [newcust] variable are (supposedly) >> unnecessary -- but in previous versions the code still worked with >> the brackets in there. Maybe there's an undocumented change in this >> version, or maybe only on the OSX platform in this version? >> >> Sincerely, >> Kenneth Grome >> >> --------------------------------------------------- >> WebDNA Professional Training and Development Center >> Cebu City, Philippines +63 (32) 255-6921 >> Wholesale WebDNA programming for only $20 per hour! >> --------------------------------------------------- > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: This [search] worked before update to 4.5.1 (Kenneth Grome 2003)
  2. Re: This [search] worked before update to 4.5.1 (Brian Fries 2003)
  3. Re: This [search] worked before update to 4.5.1 (WJ Starck 2003)
  4. Re: This [search] worked before update to 4.5.1 (Gary Krockover 2003)
  5. Re: This [search] worked before update to 4.5.1 (Kenneth Grome 2003)
  6. Re: This [search] worked before update to 4.5.1 (WJ Starck 2003)
  7. Re: This [search] worked before update to 4.5.1 (Gary Krockover 2003)
  8. This [search] worked before update to 4.5.1 (WJ Starck 2003)
FYI: I copied your original code with some minor tweaks to access one of my dbs, and the newcust variable incremented fine for me.WebDNA 4.5.1 on OSX.I tried a few other tests as well and was not able to confirm any math bug. Whether or not the math variable was enclosed in square brackets inside a math context made no difference.I don't know why it made a difference for you -- can you try it the old way again to verify that the old code still fails? If there is a math bug, I'd sure like to know about it.- brianOn Thursday, March 6, 2003, at 07:24 PM, WJ Starck wrote:> Ken- > > Yup, that did it. > > Next question: > > Where the H is that documented? > > Or is this a bug? > > Been tearing my hair out over this one... > > -- > > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > wjs@novaderm.com > > > > On Thursday, March 6, 2003, at 09:12 PM, Kenneth Grome wrote: > >>> This snippet is supposed to calculate the number of new customers in >>> a given time frame. It was working before the most recent WebDNA >>> update (4.5.1), now it's not. Nothing changed on the page. >>> >>> >>> [math]newcust=0[/math] >>> >>> [search >>> db=orders.db&neordernumdata=[blank]&group1field=orderdate&group2field >>> =orderdate&gegroup1datarq=[startdate]&legroup2datarq=[enddate]] >>> >>> [founditems] >>> >>> [search db=orders.db&eqnamedatarq=[name]] >>> [showif [numfound]=1] >>> [math]newcust=[newcust]+1[/math] >>> [/showif] >>> [/search] >>> >>> [/founditems] >>> >>> [/search] >>> >>> Basically, [newcust] is always equalling 1 now... >>> >>> I'm stumped. Platform is OSX. >> >> >> >> Seems like a bug in the math context in the OSX version. Have you >> tried this: >> >> [math]newcust=newcust+1[/math] >> >> The brackets around the [newcust] variable are (supposedly) >> unnecessary -- but in previous versions the code still worked with >> the brackets in there. Maybe there's an undocumented change in this >> version, or maybe only on the OSX platform in this version? >> >> Sincerely, >> Kenneth Grome >> >> --------------------------------------------------- >> WebDNA Professional Training and Development Center >> Cebu City, Philippines +63 (32) 255-6921 >> Wholesale WebDNA programming for only $20 per hour! >> --------------------------------------------------- > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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://webdna.smithmicro.com/ Brian Fries

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:

How to get shownext to just shownext once (1997) WebCatalog books and othre resources (2001) WebCommerce: Folder organization ? (1997) Help name our technology! (1997) More Applescript (1997) Duplicate Hell (1999) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Crediting money back to a customer (2000) [include file=filename.inc&strip=t] (2002) Sorting by multiple fields (2003) [WebDNA] Mail not sending (2018) Webstar V and Webcatalog (2001) serial number generation (1997) Shopping Cart Limits? (1998) bug ? causes NT event log to fill (1997) blank page from template (1997) Auto Delete EmailCompleted Files (2002) Alphabetically or numerically (1999) Help name our technology! (1997) Re:Finding max value for a field (1997)