[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] ONLY the FIRST continuous run of numeric chars? (2008) Firewalls - What's Good? (1999) Summary layout (1997) off topic - dna snipets (1997) browser info.txt and SSL (1997) Need WebDNA that crashes server for testing (2000) RequiredFields template (1997) Major bug report on rootbeer (1997) Purchased cart being overwritten - still !?? (1997) Email Format (1998) Upload and WebCat (1998) Re:add line item context and showitems (1998) [OT] Bulk Email Software (2002) Globals folders (2004) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Showif for mulitple variations (1997) date format (2000) WC1.6 to WC2 date formatting (1997) customizing the color of user's pages (1997) Monitoring Script (2008)