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:

Assign Variable Value (1998) [WebDNA] "Safe Write for Database" setting.... (2016) WC Database Format (1997) [protect] on NT? (1997) Country & Ship-to address & other fields ? (1997) Prices Dropped (1998) mapping fields between databases (2001) Time for a hard questions. (1997) [math] variable question (1997) Forbidden CGI Error (1997) Secure server question (1997) Re:WebDNA Writer Needed (1997) SKU lookup (1997) [/application] error? (1997) RE: OK, here goes... (1997) Strange intermittent WebDNA problems (2008) RE: Automatic Forwarding using WebCat (1997) RE: Last desperate attempt (1998) Search in 2 or more catalogs (1997) Forms (1998)