Re: Incrementing a number

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18115
interpreted = N
texte = Like a charm!Thank you>>When I add a new product, I would like to have the sku field lookup the max >>sku number and add 1 to it. >> >>Can this be done? >Yeap with here is one solution, I don't know if you could do it with a >lookup > >db=yourdb.db&geskudata=0&skusort=1&skusdir=de&max=1][founditems][math][sku] >+1[/math][/founditems][/search]> > >I think that's it better make sure it works I am pulling it off the top >of my head and I just woke up. > > >Robert Minor > >__________________________________________________________ >CyberMill Website Designers & Publishers >8616 Joseph Ave >St. Louis, MO 63144 >voice 314-962-4024 >email: webmaster@cybermill.com >http://www.cybermill.com/ >__________________________________________________________ >We are not responsible for any misspelling or misinformation >please check with your internet provider for defects. > Associated Messages, from the most recent to the oldest:

    
  1. Re: Incrementing a number (Kenneth Grome 1998)
  2. Re: Incrementing a number (Kenneth Grome 1998)
  3. Re: Incrementing a number (Pat Naismith 1998)
  4. Re: Incrementing a number (greg 1998)
  5. Re: Incrementing a number (Bob Minor 1998)
  6. Incrementing a number (greg 1998)
Like a charm!Thank you>>When I add a new product, I would like to have the sku field lookup the max >>sku number and add 1 to it. >> >>Can this be done? >Yeap with here is one solution, I don't know if you could do it with a >lookup > >db=yourdb.db&geskudata=0&skusort=1&skusdir=de&max=1][founditems][math][sku] >+1[/math][/founditems][/search]> > >I think that's it better make sure it works I am pulling it off the top >of my head and I just woke up. > > >Robert Minor > >__________________________________________________________ >CyberMill Website Designers & Publishers >8616 Joseph Ave >St. Louis, MO 63144 >voice 314-962-4024 >email: webmaster@cybermill.com >http://www.cybermill.com/ >__________________________________________________________ >We are not responsible for any misspelling or misinformation >please check with your internet provider for defects. > greg

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:

WebSTAR 2.1 freezes my Mac (1997) [WebDNA] Webdna error on plain html site (2013) if else problem (2003) Javascript & Search Results (1998) [thisurl] file name? (1999) Date search - yes or no (1997) detecting already used [cart]? (2005) Sense/Disallow HTML tags during $Append (1997) Banners (1997) Non expiring cookies again (*sorry*) (1999) strange math (2004) New Guestbook Source (1997) Navigator 4.01 (1997) Running 2 two WebCatalog.acgi's (1996) problem using ErrorMessages.db to redirect requests (2004) [WebDNA] Admin Login Required to Serve any TPL Page (2009) Development terminated. (1998) RE: Help name our technology! (1997) check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999) [BoldWords] WebCat.acgib15Mac (1997)