numero = 31981
interpreted = N
texte = Christopher:What I do is search on the Sku field to find the largest number, then Iadd 1 to it and assign that to the new record. This is in a database filewhere I started the SKU's at 1 and just need to generate unique IDs thathave no other meaning. SallyAt 12:28 PM 5/17/00 -0300, you 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:
Christopher:What I do is search on the Sku field to find the largest number, then Iadd 1 to it and assign that to the new record. This is in a database filewhere I started the SKU's at 1 and just need to generate unique IDs thathave no other meaning. SallyAt 12:28 PM 5/17/00 -0300, you 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/
Sally Reidy
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...