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

Sorting nested search (2003) URGENT! Locked DB's (2001) PCS Frames (1997) [REDIRECT url=http://isd.smithmicro.com/] into New Window? (2002) SiteGuard Admin Feature ? (1997) The List is Changing (1997) Do triggers work on Macs? (2000) Stumped (1999) WebCat2 - many [carts] on one template page? (1997) carriage returns in data (1997) Turning a URL into a link (2003) WebCat2 - [format thousands] (1997) all records returned. (1997) file uploads with webcat...binary? (1998) credit card - Revised (1997) Emailer setup (1997) popups, netscape vs explorer (1997) WebDNA on Intel Mac? (2006) ftp to webstar (2001) customers order (1999)