Re: SKU lookup
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13110
interpreted = N
texte = Heh Dan:I like your post! How about this hack which I think will work.[search db=yourdatabase.db&grskudata=0&deskusort=1&max=1] [founditems] [math]newsku=[sku]+1[/math] [/founditems][/search]
Final value=[math]newsku[/math]
This will sort in decending order, find only 1 (so the highest number) and then assign it to newsku plus one.Aloha,Olin.....................................................................W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creationHonolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610.....................................................................
Associated Messages, from the most recent to the oldest:
Heh Dan:I like your post! How about this hack which I think will work.[search db=yourdatabase.db&grskudata=0&deskusort=1&max=1]
[founditems] [math]newsku=[sku]+1[/math] [/founditems][/search]
Final value=[math]newsku[/math]
This will sort in decending order, find only 1 (so the highest number) and then assign it to newsku plus one.Aloha,Olin.....................................................................W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creationHonolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610.....................................................................
Olin
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:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
greater than or equal to (1997)
Multiple catalog databases and showcart (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Practice runs ? (1997)
SOLUTION.... Balancing randomness (2000)
Logging users (1998)
Custom WebCat Prefs ... (1997)
Moving Files (2000)
Searching for all records (1998)
WebCat2b12 - nesting [tags] (1997)
bugs w/! &/or bad scripting??? (1997)
flushdatabases (2000)
What file? (1997)
Re1000001: Setting up shop (1997)
Emailer (1998)
Word Break (1999)
[HIDEIF] inside [FOUNDITEM] (1997)
Setting up shop (1997)
showif and cart (1997)