Re: Unique SKUs

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31982
interpreted = N
texte = If your NOT already using cart as one of your database fields, you could use that and be guaranteed a unique number each time. (and if you can stand the long string of characters)Christopher Mackay wrote:> Hi, > > Still flailing away learning WebCat 3 (5.0 will be out before I learn > it at this rate :) > > The Question: > How do I get a unique SKU to be automatically generated when using an > append context or command? > > The Details: > I'm building a simple contact database application. I've used the > Database Helper as a starting point, and I've got most of it working. > Editing & deleting records works great. I've got it sorting things > nicely. The light is dawning. But... > > Append context. When adding records to the contacts.db, the SKU > should be generated on the fly -- as a unique character string -- by > WebCat. How do I do this? I tried passing > > > > in the form, but this enters > > %5Bsku%5D > > into the SKU field -- not exactly what I'm looking for... (I realise > the field doesn't need to be visible to pass the value, but it's the > same result -- I get a new record okay, but the SKU is always > %5Bsku%5D). > > Regards, > > Christopher Mackay, Multimedia Developer > Tantramar Interactive, http://www.tantramar.com/ > 506/364-1097 cell: 364-7659 fax: 536-2409 > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Multiple Unique SKUs (Clint Davis 2000)
  2. Re: Multiple Unique SKUs (John Peacock 2000)
  3. Re: Multiple Unique SKUs (Kim Ingram 2000)
  4. Multiple Unique SKUs (Clint Davis 2000)
  5. Re: Unique SKUs (Joseph D'Andrea 2000)
  6. Re: Unique SKUs (WebDNA Support 2000)
  7. Re: Unique SKUs (Clint Davis 2000)
  8. Re: Unique SKUs (Robert Wade 2000)
  9. Re: Unique SKUs (Sally Reidy 2000)
  10. Unique SKUs (Christopher Mackay 2000)
If your NOT already using cart as one of your database fields, you could use that and be guaranteed a unique number each time. (and if you can stand the long string of characters)[cart]>Christopher Mackay wrote:> Hi, > > Still flailing away learning WebCat 3 (5.0 will be out before I learn > it at this rate :) > > The Question: > How do I get a unique SKU to be automatically generated when using an > append context or command? > > The Details: > I'm building a simple contact database application. I've used the > Database Helper as a starting point, and I've got most of it working. > Editing & deleting records works great. I've got it sorting things > nicely. The light is dawning. But... > > Append context. When adding records to the contacts.db, the SKU > should be generated on the fly -- as a unique character string -- by > WebCat. How do I do this? I tried passing > > [url][sku][/url]> > > in the form, but this enters > > %5Bsku%5D > > into the SKU field -- not exactly what I'm looking for... (I realise > the field doesn't need to be visible to pass the value, but it's the > same result -- I get a new record okay, but the SKU is always > %5Bsku%5D). > > Regards, > > Christopher Mackay, Multimedia Developer > Tantramar Interactive, http://www.tantramar.com/ > 506/364-1097 cell: 364-7659 fax: 536-2409 > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Robert Wade

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:

WCS Newbie question (1997) Re[2]: Next X hits (1996) [showif] / [hideif] (1997) Spawning Holdup? (2000) sort problems....bug or brain fart? (1997) [sendmail] on NT? (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Date problems (1997) Possible Bug in 2.0b15.acgi (1997) Initiating NewCart (1997) Search returns all, not 20 (1997) Passing info in [Addlineitem] (1997) Download to disk NOT display in browser (2002) Server Creation - vendors (2005) List of WebDNA users - Show of Hands (2002) Make sure I understand this??? (1997) Emailer help....! (1997) Username for Admin Group (1997) Security (1998) Displaying raw values (long) (1998)