Re: Incrementing a number

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18111
interpreted = N
texte = On 6/6/98 8:43 AM, greg wrote:>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 lookupI 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)
On 6/6/98 8:43 AM, greg wrote:>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[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. Bob Minor

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:

[ListFiles] context & alias (1997) Price override (2004) [WebDNA] WebDNA on CLOUDLINUX 6.6? (2015) fixed date problem (1997) WebCat2: Formulas.db question (1997) Possible Bug in 2.0b15.acgi (1997) Signal Raised Error (1997) 2nd WebCatalog2 Feature Request (1996) Emailer Problem (1999) Authenticate (1997) WebCat2 several catalogs? (1997) converchars in sendmail context.... (2004) Plugin or CGI or both (1997) [WebDNA] Talklist Archive & Twitter (2009) Duplicates (1998) SQL Changes in 3.0.7? (2000) Another XML Questgion (2000) AuthorizeNet Bug (2002) [WebDNA] Recaptcha 2.0 and WebDNA (2015) [defined]ish (1997)