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:
[WebDNA] [then] statement not showing (2012)
Separate SSL Server (1997)
[WebDNA] WebDNA 6.2 and Mac OS X 10.5 Client / Server ? (2009)
Empty fields delete-able? (2000)
displaying New products (Yikes! it's Fixed!) (1997)
ampersand in a sendmail body (2007)
Scoping rules in WebDNA 4.0 (2000)
Configuring E-mail (1997)
Paypal merchant code tricks or pitfalls (2003)
Date search - yes or no (1997)
Re:Add (1998)
Redirect (1998)
Exclude by date - multiple (1997)
Re:no [search] with NT (1997)
How is it done? (1998)
Fun with Dates - finally resolved but.... (1997)
Press Release hit the NewsWire!!! (1997)
removelineitems (2000)
Quit revisited (1997)
M$loth messes with our sites (again) 2004/02/03 (2004)