Re: Table code broken?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60378
interpreted = N
texte = I can't find any problems appending multiple fields to a table. I tested the following code snippet in a few different folders and the table context worked fine. [table name=tab&fields=ONO,DACR][/table] [listfiles path=] [append table=tab]ONO=[url][filename][/url]&DACR=[url][moddate][/url][/append] [/listfiles] [search table=tab&neONOdata=[blank]] [founditems] [ONO] - [DACR]
[/founditems] [/search] -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of devaulw@onebox.com Sent: Tuesday, December 07, 2004 08:09 PM To: WebDNA Talk Subject: Table code broken? 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] ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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 can't find any problems appending multiple fields to a table. I tested the following code snippet in a few different folders and the table context worked fine. [table name=tab&fields=ONO,DACR][/table] [listfiles path=] [append table=tab]ONO=[url][filename][/url]&DACR=[url][moddate][/url][/append] [/listfiles] [search table=tab&neONOdata=[blank]] [founditems] [ONO] - [DACR]
[/founditems] [/search] -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of devaulw@onebox.com Sent: Tuesday, December 07, 2004 08:09 PM To: WebDNA Talk Subject: Table code broken? 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] ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ "Scott Anderson"

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:

Summing fields (1997) WebCat2 several catalogs? (1997) Sku numbers (1997) PIXO support (1997) NewCart+Search with one click ? (1997) Protect Tag (2003) Funny Math (2000) [WebDNA] New 7.1.702 version (2012) Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (1997) Not really WebCat- (1997) Locking up with WebCatalog... (1997) A little syntax help (1997) Switching from merge to tab delimited..(v 2.x) (2000) shortening the cart (1998) Shopping carts and reloading pages (1997) [returnraw] and form variables (1998) WebCommerce: Folder organization ? (1997) passing search criteria (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) [SHOWIF AND/OR] (1997)