Re: [WebDNA] Query re: autonumber
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105532
interpreted = N
texte = Ken you missed seeing that he is concatenating the [cart] with [index]; he is in a [founditems] loop.On Jul 8, 2010, at 11:16 AM, Kenneth Grome wrote:> No you're not safe, all the new records will have the same > recordID. You have to reload the page to get a new cart value.>>>> A follow up question, if I am doing a bulk append to a db then I >> can only>> create one [cart] on a template, so if I use the following within a >> search>> context am I safe in not creating duplicate cart IDs:>>>> [search db=import.db&neIDdatarq=find_all][founditems]>>>> [append db=appendto.db]recordID=[cart][index][/append]>>>> [/founditems][/search]>>>> Thanks>> - Tom------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
Ken you missed seeing that he is concatenating the
[cart] with [index]; he is in a
[founditems] loop.On Jul 8, 2010, at 11:16 AM, Kenneth Grome wrote:> No you're not safe, all the new records will have the same > recordID. You have to reload the page to get a new cart value.>>>> A follow up question, if I am doing a bulk append to a db then I >> can only>> create one
[cart] on a template, so if I use the following within a >> search>> context am I safe in not creating duplicate cart IDs:>>>> [search db=import.db&neIDdatarq=find_all]
[founditems]>>>> [append db=appendto.db]recordID=
[cart][index][/append]>>>> [/founditems][/search]>>>> Thanks>> - Tom------------Govindagovinda.webdnatalk@gmail.com
Govinda
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:
Cool anyway (2000)
required fields (1998)
calculating tax rates, mail order solutions and version 2 (1997)
Sorry WebDNA server not running (2002)
Setting up the server (1997)
Fun with Dates - revisited (1997)
no global [username] or [password] displayed ... (1997)
[url] (1997)
New Command prefs ... (1997)
Timeout question .. (2003)
Problems with totals (1997)
Banner Ad example (Typhoon) and WebCatalog (1997)
Emailer [cart] file names (1997)
Categories and Sub-categories (2003)
Multiple transactions per cart (2000)
[SHOWIF]s and empty arguments (1997)
Automated FTP from Shell - Update (2004)
URL encoding (1998)
WebCat2 beta 11 - new prefs ... (1997)
Looking up two prices in database? (1997)