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:

What is WebDNA (1997) textarea inputs and returns (1999) WebCat 5 Intranet Question (2003) Multiple Attachments with Sendmail (2004) [carts] and databases (1997) WebCat2.0 [format thousands .0f] no go (1997) WebCatalog for guestbook ? (1997) [WebDNA] Paypal Sandbox TCPConnect (2012) carriage returns in data (1997) [WebDNA] sem_open bugfix for os x version 6.2 (2012) Migrating to NT -Reply (1997) WebDNA Solutions ... sorry! (1997) Merging databases (1997) DocNote#1 - GREP info missing ... (2000) Password problems with WebCat 4.01 (2000) Replace Statement (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) Can I invoke an ssi plugin from within a webcat page (1997) WebDNA for Dummies (2004) shownext (1997)