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. - Brian On 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:

    
  1. Re: Table code broken? ( Stuart Tremain 2004)
  2. Re: Table code broken? ( "Scott Anderson" 2004)
  3. Re: Table code broken? ( Stuart Tremain 2004)
  4. Re: Table code broken? ( "Scott Anderson" 2004)
  5. Re: Table code broken? ( devaulw@onebox.com 2004)
  6. Re: Table code broken? ( "Scott Anderson" 2004)
  7. Re: Table code broken? ( devaulw@onebox.com 2004)
  8. Re: Table code broken? ( "Scott Anderson" 2004)
  9. Re: Table code broken? ( "Scott Anderson" 2004)
  10. Re: Table code broken? ( Larry Hewitt 2004)
  11. Re: Table code broken? ( devaulw@onebox.com 2004)
  12. Re: Table code broken? ( devaulw@onebox.com 2004)
  13. Re: Table code broken? ( Brian Fries 2004)
  14. Table code broken? ( devaulw@onebox.com 2004)
I strongly recommend not naming your table and your variable the same thing. I think having both of them named "tn" is confusing WebDNA. - Brian On 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:

[foundItems] context problem (2000) More on the email templates (1997) What about an ends with operator? (2000) How to Sort Summ data ? (1997) Problems with cybercash (2000) Make sure I understand this??? (1997) flushdatabases (1997) You sent this to me by mistake. (1998) redirect with frames (1997) If Empty ? (1997) using showpage and showcart commands (1996) PERL to Web DNA (2000) ODBC-Interface (2000) Re:listfiles-looking for slick solution (1997) [WC 2.1.30] Stack overflow. (2000) no global [username] or [password] displayed ... (1997) Purchase command error problem (1997) question: back button prevention (1997) Search returns all, not 20 (1997) WCS Newbie question (1997)