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

[showif]/[hideif] question (1997) Delete problem (2005) Re:2nd WebCatalog2 Feature Request (1996) using showpage and showcart commands (1996) Setting up the server (1997) HTML E-mails demystified (2002) Secure Server (1997) my price won't move (1997) FW: 2.01 upgrade problems (1997) OT fullfillment centers / service (2000) Today's suggestions (1998) [table] strange behaviour REAL solution (2003) Some Questions (1997) SKU lookup (1997) can we get string variables? (1998) Setting up shop (1997) PCS Frames (1997) Banner Ad example (Typhoon) and WebCatalog (1997) WC Database Format (1997) form data submission gets truncated (1997)