[WebDNA] [thisautonumber] and [lastautonumber]

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106585
interpreted = N
texte = This is a multi-part message in MIME format.--------------080906010804050809010506Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHi,Can anyone give me a sample of the syntax on how to use [thisautonumber] and/or [lastautonumber] to assign it to a text or math variable? I want to [append] to a db using "autonumber" and then use that same autonumber within a replace further down my template.All I found in the online documentation was this:You can use [thisautonumber] tag from within an [append] or [replace] context, to retrieve the current auto-generated number (if the AUTONUMBER parameter was used).Is the code below safe to use with a heavily appended database?[append db=../../data/sku.db Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [thisautonumber] and [lastautonumber] (Steve Raslevich -Northern Sound 2011)
  2. Re: [WebDNA] [thisautonumber] and [lastautonumber] (Brian Fries 2011)
  3. Re: [WebDNA] [thisautonumber] and [lastautonumber] (Steve Raslevich - Northern Sound 2011)
  4. Re: [WebDNA] [thisautonumber] and [lastautonumber] (Aaron Michael Kaczmarek 2011)
  5. [WebDNA] [thisautonumber] and [lastautonumber] (Steve Raslevich -Northern Sound 2011)
This is a multi-part message in MIME format.--------------080906010804050809010506Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHi,Can anyone give me a sample of the syntax on how to use [thisautonumber] and/or [lastautonumber] to assign it to a text or math variable? I want to [append] to a db using "autonumber" and then use that same autonumber within a replace further down my template.All I found in the online documentation was this:You can use [thisautonumber] tag from within an [append] or [replace] context, to retrieve the current auto-generated number (if the AUTONUMBER parameter was used).Is the code below safe to use with a heavily appended database?[append db=../../data/sku.db Steve Raslevich -Northern Sound

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:

WebCatalog [FoundItems] Problem - AGAIN - (1997) Using [redirect] in the middle of a page? (1999) Requiring that certain fields be completed (1997) Still trying to email... (1998) First postarg not taking in $Commands (1997) frames & carts (1997) WebCat2 - many [carts] on one template page? (1997) Problem with summary on date / inconsequent webcat behaviour (1998) Using ticks (2000) SiteEdit NewFile.html ? (1997) PIXO support (1997) Is there a list somewhere of what ALL [url] does? (2000) Hiding HTML and breaking the page (1997) [sendmail] questions... (1997) So many lookers, hey smith micro (2003) Fun with Dates - finally resolved but.... (1997) Re:WebCatalog/WebMerchant III (1998) showcart is slow (1998) Help on multiple select fields (2002) looking for some paid WebCatalog help (2000)