Re: Table code broken?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60366
interpreted = N
texte = I strongly recommend not naming your table and your variable the same thing. I think having both of them named "tn" is confusing WebDNA.- BrianOn Dec 7, 2004, at 8:09 PM, devaulw@onebox.com wrote:> When tn is 2 or 3 for the following code, no error is returned. When > tn is 1, I get an error. ONO is the ordernumber and DACR is the > datecreated (assume that at least for my purposes).> Any thoughts on why I can append one or the other value but not both? > Is the table context not working properly? Is there a table size > limit?>>> [table name=tn&fields=ONO,DACR][/table]>> [showif [tn]=1]> [listfiles path=/Orders/]> [append > table=tn]ONO=[url][filename][/url]&DACR=[url][moddate][/url][/append]> [/listfiles]> [/showif]>> [showif [tn]=2]> [listfiles path=/Orders/]> [append table=tn]ONO=[url][filename][/url][/append]> [/listfiles]> [/showif]>> [showif [tn]=3]> [listfiles path=/Orders/]> [append table=tn]DACR=[url][moddate][/url][/append]> [/listfiles]> [/showif]>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I strongly recommend not naming your table and your variable the same thing. I think having both of them named "tn" is confusing WebDNA.- BrianOn Dec 7, 2004, at 8:09 PM, devaulw@onebox.com wrote:> When tn is 2 or 3 for the following code, no error is returned. When > tn is 1, I get an error. ONO is the ordernumber and DACR is the > datecreated (assume that at least for my purposes).> Any thoughts on why I can append one or the other value but not both? > Is the table context not working properly? Is there a table size > limit?>>> [table name=tn&fields=ONO,DACR][/table]>> [showif [tn]=1]> [listfiles path=/Orders/]> [append > table=tn]ONO=[url][filename][/url]&DACR=[url][moddate][/url][/append]> [/listfiles]> [/showif]>> [showif [tn]=2]> [listfiles path=/Orders/]> [append table=tn]ONO=[url][filename][/url][/append]> [/listfiles]> [/showif]>> [showif [tn]=3]> [listfiles path=/Orders/]> [append table=tn]DACR=[url][moddate][/url][/append]> [/listfiles]> [/showif]>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Brian Fries
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:
FW: Shipping calculations (1997)
hideifs using [date] (1999)
Hiding Brands (2004)
problems with 2 tags shakur (1997)
hmmm (2006)
auto enter dates (1998)
[WebDNA] Page names changing (2010)
Max Record length restated as maybe bug (1997)
[SearchString] problem with [search] context (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Formating found categories (1997)
FCKeditor (2008)
Error Msg (1997)
New Command prefs ... (1997)
[SHOWIF] (1997)
Associative lookup style? (1997)
Code to convert relative to absolute URLs in HTML files (2004)
Netscape Communicator 4 (1997)
bug in [SendMail] (1997)
IE cache problems (1999)