[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:

[WebDNA] I'm stuck... :-( (2009) To Use Cookies or Not To Use Cookies (2003) RE: Questions To Answer (1997) WebCatalog and barcodes (2000) Stumpted Again (1997) [searchString] (1997) [WebDNA] WebDNA not running after 10.6.3 update (2010) Username/Password with [Protect] (2000) Using Cookie for client specific info? (1997) [WebDNA] [OT] economical reliable SSL certs? (2009) [url] (1997) [WebDNA] 30 Minute Cookies (2016) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) PIXO (1997) [WriteFile] problems (1997) Carts & Refering URLs (1997) Location of Webcat site in folder hierarchy (1997) SiteEditPro (1996) Problems passing [SKU] with $Replace in 2.0 (1997) [WebDNA] BBEdit Codeless Language Module for WebDNA (2009)