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:

Individual LineItemChangePassword files would be better ... (1999) looking for developers with solutions (2000) WebCatalog2 Feature Feedback (1996) Not reading code (1997) An easy one (1999) WebDNA 5.0 Questions (2003) can't find the pdf (1999) Autoreturn Submit? (1997) RE: E-mailer error codes (1997) WebMerchant 1.6 and SHTML (1997) AppleScript in WebDNA (2003) ReadDateFormat bug in 3.x (1998) [WriteFile] problems (1997) [BULK] [WebDNA] Version 7 Config problem (2011) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Claris HomePage messes up the code (1997) docs for WebCatalog2 (1997) Bug in 4.5 - Needs to be fixed ASAP. (2002) Giving out error pages (1997) The USArea® Network web site ... (1997)