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:
Merging databases (1997)
Enhancement Request for WebCatalog-NT (1996)
RE: [isfolder] and [filename] (1997)
Limitations on fields? Server is crashing (1997)
Stumped on ShipCosts.db Problem (2000)
creating a discount coupon for shopping cart (1999)
Username for Admin Group (1997)
HTML encoding in URLs (1997)
Need help with emailer- 2 issues (1997)
Summing fields (1997)
Preventing code execution (2003)
random sorting broken (was Re[2]: php vs WebCatalog) (2000)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
[OT] Search Engine Tips (2003)
Size limit for tmpl editor ? (1997)
Newbie Tax Question (1997)
loops (2000)
Random info is still wrong ... (2000)
Initiating NewCart (1997)
webmerch and serials - almost there (1997)