Re: [WebDNA] [thisautonumber] and [lastautonumber]
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106593
interpreted = N
texte = This is a multi-part message in MIME format.--------------040900000309080102050509Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitThanks Brian,I tried both and [thisautonumber] was what I was looking for.Brian Fries wrote:> The answers provided were close, but not quite right....>> [thisautonumber] gives you access to the autonumber value that is > currently being added, from inside the [append] or [replace] context.>> [lastautonumber] gives you access to the autonumber value that was > used the previous time that autonumber was invoked, after leaving the > [append] or [replace] content.>>> As a simple demonstration, run this code:>> [table name=myTable
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.--------------040900000309080102050509Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitThanks Brian,I tried both and [thisautonumber] was what I was looking for.Brian Fries wrote:> The answers provided were close, but not quite right....>> [thisautonumber] gives you access to the autonumber value that is > currently being added, from inside the
[append] or
[replace] context.>>
[lastautonumber] gives you access to the autonumber value that was > used the previous time that autonumber was invoked, after leaving the >
[append] or
[replace] content.>>> As a simple demonstration, run this code:>> [table name=myTable
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:
Quiestion (1997)
Emailer error 571 (1998)
WebMerchant problem (1998)
showif with math? (2000)
hard carriage returns and sendmail (1998)
For those of you not on the WebCatalog Beta... (1997)
Need Advice for Setting up a Database (1999)
WebDNA for Dummies (2004)
Sample Tearoom Search Error (1997)
Can't use old cart file (was One more try) (1997)
WebCat 4.0 (2000)
purchase plugin (1996)
searchable list archive (1997)
[WebDNA] webdna7 sendmail error (2012)
problems with 2 tags (1997)
webcat2b12 CGI -- Date comparisons (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
[WebDNA] eCommerce in 7.0 but not in 7.1? (2012)
search/results scripting (2000)
RE: Languages (1997)