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:

$adminput doesn't allow [include] files (1997) PCS Frames (1997) Was: [WebDNA] Wishlist: ignore whitespace in database changes - Now: WebDNA Data Model (2016) [OT] Imagemagick (2004) Proposed FormVariables hierarchy (2000) Why does lineitems loop in sendmail = crash ? (2000) Multiple Newcarts (1996) Type 11 errors setting up WebCAt 2 (1997) WebCatalog for guestbook ? (1997) auto adding SKUs w/DB helper (1998) Re1000001: Setting up shop (1997) Search Engine questions ... (2002) [WebDNA] WebDNA restart script (2015) PCS Frames-Default page is solution! (1997) Simple way to create unique SKU (1997) Running 2 two WebCatalog.acgi's (1996) Convert Chars Q (2000) Finding max value for a field (1997) Help formatting search results w/ table (1997) return two fields w/ [lookup] (1998)