Re: [Math] Problem!!!!

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57215
interpreted = N
texte = You need specify that your SKU is a number... [search db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&SKUtype=num&max=1] On 4/2/04 1:26 PM, "Lawrence" wrote: > Hi, > > I have a strange problem with a [Math] context. > > I have a db for which I increase the number with : > [append db=coord.db]SKU=[Format thousands .6d][!] > [/!][search > db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&max=1][founditems][math][SKU]+1[/ > math][!] > [/!][/founditems][/search][/Format][/append] > > Once I have reached 10000 I can't increase the number any more! > If I try to make a simple [append] with an number (ex:10250) There is no > problem. Once this is the last number, if there is a new connection I still > get "10000" as the latest number > > If I make a simple db request > [search db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&max=1] > [founditems] > [SKU]
[/founditems][/search] > > I get 99999 as an answer !!!!!! > > What's wrong with my db Or with Webcatalog?????? ------------------------------------------------------------- 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: [Math] Problem!!!! ( Lawrence 2004)
  2. Re: [Math] Problem!!!! ( Stuart Tremain 2004)
  3. Re: [Math] Problem!!!! ( Brian Fries 2004)
  4. Re: [Math] Problem!!!! ( Clint Davis 2004)
  5. [Math] Problem!!!! ( Lawrence 2004)
You need specify that your SKU is a number... [search db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&SKUtype=num&max=1] On 4/2/04 1:26 PM, "Lawrence" wrote: > Hi, > > I have a strange problem with a [math] context. > > I have a db for which I increase the number with : > [append db=coord.db]SKU=[Format thousands .6d][!] > [/!][search > db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&max=1][founditems][math][SKU]+1[/ > math][!] > [/!][/founditems][/search][/Format][/append] > > Once I have reached 10000 I can't increase the number any more! > If I try to make a simple [append] with an number (ex:10250) There is no > problem. Once this is the last number, if there is a new connection I still > get "10000" as the latest number > > If I make a simple db request > [search db=coord.db&neSKUdata=FIND_ALL&deSKUsort=1&max=1] > [founditems] > [SKU]
[/founditems][/search] > > I get 99999 as an answer !!!!!! > > What's wrong with my db Or with Webcatalog?????? ------------------------------------------------------------- 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/ Clint Davis

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:

Drop down menu (2003) WebCatalog Mac 2.1b3 (1997) formula.db question (1997) Limiting user access to .tmpl files (1997) PC Auth Hub+Merchant (1998) PCS Frames (1997) Bug? (1997) Silly Question (2003) Associative lookup style? (1997) maximu values for sendmail! (1997) Search Engine questions ... (2002) how to set a new cart number periodically (1999) [WebDNA] [TEST] (2009) HELP: OS X Problem... (2000) [WebDNA] Easier to install versions! (2012) File Uploads (1998) Newbie problem blah blah blah (1997) Using WC for Bulk Emailings (1997) &fieldsdir=ra truely random?? (2000) Problems appending to database (1997)